CVE-2025-59933

EUVD-2025-31647
libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips is compiled with support for PDF input via poppler, the pdfload operation is affected by a buffer read overflow when parsing the header of a crafted PDF with a page that defines a width but not a height. Those using libvips compiled without support for PDF input are unaffected as well as thosewith support for PDF input via PDFium. This issue is fixed in version 8.17.2. A workaround for those affected is to block the VipsForeignLoadPdf operation via vips_operation_block_set, which is available in most language bindings, or to set VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders including PDF input via poppler.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 8.61%
Affected Products (NVD)
VendorProductVersion
libvipslibvips
𝑥
< 8.17.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
vips
bookworm
ignored
bookworm (security)
vulnerable
bullseye
postponed
forky
8.18.7-1
fixed
sid
8.18.7-1
fixed
trixie
vulnerable
trixie (security)
8.16.1-1+deb13u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
vips
bionic
Fixed 8.4.5-1ubuntu0.1~esm2
released
focal
Fixed 8.9.1-2ubuntu0.1~esm2
released
jammy
Fixed 8.12.1-1ubuntu0.1~esm3
released
noble
Fixed 8.15.1-1.1ubuntu0.1~esm2
released
plucky
ignored
questing
ignored
resolute
not-affected
stonking
not-affected
xenial
Fixed 8.2.2-1ubuntu0.1~esm1
released