CVEvulnerability
CVE-2025-59933
5.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-09-29
- Last modified
- 2026-10-19
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-126
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.
Affected configurations
• libvips libvips (< 8.17.2)
Related
Weakness · CWE (1)
- CWE-126 Buffer Over-read weakness
References
- https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1 Patch
- https://github.com/libvips/libvips/releases/tag/v8.17.2 Release Notes
- https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4 Mitigation, Patch, Vendor Advisory
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability www.vicarius.io
- https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability www.vicarius.io