CVE-2025-59933
CVE-2025-59933 is a high-severity vulnerability in Libvips with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-126.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v4: 5.1
- EPSS exploit prediction: 0% (7th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-31647
- Weakness: CWE-126
- Affected product: Libvips
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-59933?
- 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.
- How severe is CVE-2025-59933?
- CVE-2025-59933 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-59933 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (7th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-59933?
- CVE-2025-59933 affects Libvips. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-59933?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-59933 have an EU (EUVD) identifier?
- Yes. CVE-2025-59933 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-31647.
- When was CVE-2025-59933 published?
- CVE-2025-59933 was published on 2025-09-29 and last updated on 2026-06-17.
References
- https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1
- https://github.com/libvips/libvips/releases/tag/v8.17.2
- https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability
Affected products (1)
- cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*
More vulnerabilities in Libvips
- CVE-2019-17534 — High (CVSS 8.8): vips_foreign_load_gif_scan_image in foreign/gifload.c in libvips before 8.8.2 tries to access a color map before a…
- CVE-2018-7998 — High (CVSS 7.5): In libvips before 8.6.3, a NULL function pointer dereference vulnerability was found in the vips_region_generate…
- CVE-2021-27847 — Medium (CVSS 6.5): Division-By-Zero vulnerability in Libvips 8.10.5 in the function vips_eye_point, eye.c#L83, and function…
- CVE-2025-29769 — Medium (CVSS 5.5): libvips is a demand-driven, horizontally threaded image processing library. The heifsave operation could incorrectly…
- CVE-2023-40032 — Medium (CVSS 5.5): libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause…
- CVE-2026-3281 — Medium (CVSS 5.3): A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file…
Other CWE-126 (Buffer Over-read) vulnerabilities
- CVE-2026-41898 — Critical (CVSS 9.8): rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI…
- CVE-2023-36397 — Critical (CVSS 9.8): Windows Pragmatic General Multicast (PGM) Remote Code Execution Vulnerability
- CVE-2025-12106 — Critical (CVSS 9.1): Insufficient argument validation in OpenVPN 2.7_alpha1 through 2.7_rc1 allows an attacker to trigger a heap buffer…
- CVE-2023-51773 — Critical (CVSS 9.1): BACnet Stack before 1.3.2 has a decode function APDU buffer over-read in bacapp_decode_application_data in bacapp.c.
- CVE-2021-34584 — Critical (CVSS 9.1): Crafted web server requests can be utilised to read partial stack or heap memory or may trigger a denial-of- service…
- CVE-2025-36855 — High (CVSS 8.8): A vulnerability ( CVE-2025-21176 https://www.cve.org/CVERecord ) exists in DiaSymReader.dll due to buffer over-read.…