CVE-2025-59933 Details
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.
A buffer read overflow vulnerability has been identified in libvips, an image processing library, in versions through 8.17.1. This issue occurs when libvips is compiled with support for PDF input via Poppler. The vulnerability arises in the pdfload operation, which improperly parses the header of a crafted PDF that specifies a width but omits a height. As a result, the Poppler library can return invalid page dimensions, leading to the buffer over-read. Users with libvips compiled without PDF support or those using PDFium are not affected.
Users can upgrade to libvips version 8.17.2 or later, where this vulnerability has been patched. For those unable to upgrade, a workaround is to block the VipsForeignLoadPdf operation using vips_operation_block_set, available in most language bindings, or to set the VIPS_BLOCK_UNTRUSTED environment variable at runtime, which will block all untrusted loaders, including PDF input via Poppler.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-126 | Buffer Over-read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libvips libvips | < 8.17.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 24, 2025 | CVE Modified | CVE |
| Oct 18, 2025 | Initial Analysis | [email protected] |
| Sep 29, 2025 | New CVE Received | [email protected] |