# CVE-2025-59933: libvips is vulnerable to Buffer Over-Read in poppler-based pdfload

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-09-29T22:04:09.404Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- libvips libvips: < 8.17.2; before 8.17.2

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4> (mitigation, patch, vendor-advisory)
- <https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1> (patch)
- <https://github.com/libvips/libvips/releases/tag/v8.17.2> (release-notes)
- <https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability>
- <https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability>

## Sources

- CVE List: [CVE-2025-59933](https://www.cve.org/CVERecord?id=CVE-2025-59933), CVE Terms of Use, modified 2025-12-24
- NVD: [CVE-2025-59933](https://nvd.nist.gov/vuln/detail/CVE-2025-59933), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59933 · Whole record: https://cve.day/CVE-2025-59933.json · Rebuilt by cve.day 2026-11-25T22:59:05.331Z
