CVE-2025-59933 json
libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
published 2025-09-29 13 mo ago modified 2026-10-19 20 d ago also EUVD-2025-31647
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libvips libvips 8.17.2
- vips Debian 13 8.16.1-1+deb13u2
- vips Debian 14 8.17.3-1
debian advisories DEBIAN-CVE-2025-59933
- vips Ubuntu Pro 18.04 LTS 8.4.5-1ubuntu0.1~esm2
- vips Ubuntu Pro 20.04 LTS 8.9.1-2ubuntu0.1~esm2
- vips Ubuntu Pro 22.04 LTS 8.12.1-1ubuntu0.1~esm3
- vips Ubuntu Pro 24.04 LTS 8.15.1-1.1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2025-59933
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vips openSUSE Tumbleweed 8.18.7-1.1
opensuse advisories openSUSE-SU-2026:12266-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59933 updated cvss 6.8
libvips: libvips Buffer Over-Read
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L |
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- libvips libvips
Classification
- Weakness
-
- CWE-126 Buffer Over-read
References
-
github.com
/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1
patch
-
github.com
/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4
mitigation, patch, vendor-advisory
-
github.com
/libvips/libvips/releases/tag/v8.17.2
release-notes
- vicarius.io /vsociety/posts/cve-2025-59933-detect-libvips-vulnerability
- vicarius.io /vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability
Sources
- CVE List CVE-2025-59933
- NVD CVE-2025-59933
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.