CVE-2025-59933 libvips is vulnerable to Buffer Over-Read in poppler-based pdfload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 5 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/vips(Debian 12) | = 8.14.1-3; = 8.14.1-3+deb12u1; = 8.14.1-3+deb12u2; = 8.14.1-3+deb12u3 +32 more | No fix listed | No fix yet |
| debian/vips(Debian 13) | < 8.16.1-1+deb13u2; = 8.16.1-1; = 8.16.1-1+deb13u1 | 8.16.1-1+deb13u2 | Fixed |
| debian/vips(Debian 14) | < 8.17.3-1; = 8.16.1-1; = 8.16.1-2 | 8.17.3-1 | Fixed |
| libvips | < 8.17.2; = < 8.17.2 | 8.17.2 | Fixed |
| ubuntu/vips(Ubuntu 22.04) | < 8.12.1-1ubuntu0.1~esm3 | 8.12.1-1ubuntu0.1~esm3 | Fixed |
| ubuntu/vips(Ubuntu 24.04) | < 8.15.1-1.1ubuntu0.1~esm2 | 8.15.1-1.1ubuntu0.1~esm2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/vips(Debian:12) | All versions | No fix listed |
| debian/vips(Debian:12) | = 8.14.1-3 | No fix listed |
| debian/vips(Debian:12) | = 8.14.1-3+deb12u1 | No fix listed |
| debian/vips(Debian:12) | = 8.14.1-3+deb12u2 | No fix listed |
| debian/vips(Debian:12) | = 8.14.1-3+deb12u3 | No fix listed |
| debian/vips(Debian:12) | = 8.14.2-1 | No fix listed |
| debian/vips(Debian:12) | = 8.14.3-1 | No fix listed |
| debian/vips(Debian:12) | = 8.14.4-1 | No fix listed |
| debian/vips(Debian:12) | = 8.14.5-1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.0-1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.0-2 | No fix listed |
| debian/vips(Debian:12) | = 8.15.0~rc2-1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.0~rc2-2 | No fix listed |
| debian/vips(Debian:12) | = 8.15.1-1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.1-1.1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.1-1.1~exp1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.2-1 | No fix listed |
| debian/vips(Debian:12) | = 8.15.2-2 | No fix listed |
| debian/vips(Debian:12) | = 8.15.3-1 | No fix listed |
| debian/vips(Debian:12) | = 8.16.0-1 | No fix listed |
| debian/vips(Debian:12) | = 8.16.0-2 | No fix listed |
| debian/vips(Debian:12) | = 8.16.1-1 | No fix listed |
| debian/vips(Debian:12) | = 8.16.1-2 | No fix listed |
| debian/vips(Debian:12) | = 8.17.3-1 | No fix listed |
| debian/vips(Debian:12) | = 8.17.3-2 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/vips(Debian:12) | = 8.18.0-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.0-2 | No fix listed |
| debian/vips(Debian:12) | = 8.18.0-3 | No fix listed |
| debian/vips(Debian:12) | = 8.18.1-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.2-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.3-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.4-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.5-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.6-1 | No fix listed |
| debian/vips(Debian:12) | = 8.18.6-2 | No fix listed |
| debian/vips(Debian:12) | = 8.18.7-1 | No fix listed |
| debian/vips(Debian:13) | < 8.16.1-1+deb13u2 | 8.16.1-1+deb13u2 |
| debian/vips(Debian:13) | = 8.16.1-1 | No fix listed |
| debian/vips(Debian:13) | = 8.16.1-1+deb13u1 | No fix listed |
| debian/vips(Debian:14) | < 8.17.3-1 | 8.17.3-1 |
| debian/vips(Debian:14) | = 8.16.1-1 | No fix listed |
| debian/vips(Debian:14) | = 8.16.1-2 | No fix listed |
| libvips | = < 8.17.2 | No fix listed |
| ubuntu/vips(Ubuntu:22.04) | < 8.12.1-1ubuntu0.1~esm3 | 8.12.1-1ubuntu0.1~esm3 |
| ubuntu/vips(Ubuntu:24.04) | < 8.15.1-1.1ubuntu0.1~esm2 | 8.15.1-1.1ubuntu0.1~esm2 |
| libvips | < 8.17.2 | 8.17.2 |
References
- Debian Security Tracker CVE-2025-59933 vendor-advisory
- 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
- www.vicarius.io
- www.vicarius.io
- Ubuntu CVE tracker vendor-advisory
- USN-8994-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking