CVE-2025-59933
libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
Reported by github_m · Published September 29, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libvips | libvips | < 8.17.2 |
| libvips | libvips | 0 |
Timeline
- Sep 29, 2025 CVE Published
- Sep 30, 2025 EPSS Score (30 in total, the first dated here)
- Oct 4, 2025 Coalition ESS Score (6 in total, the first dated here)
- Dec 8, 2025 Security Advisory
- Dec 24, 2025 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-59933
vulnetix vdb fixes CVE-2025-59933
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-59933/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4 x_refsource_CONFIRM
- https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1 x_refsource_MISC
- https://github.com/libvips/libvips/releases/tag/v8.17.2 x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability url
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability url