CVE-2025-59933
MEDIUM 5.1 ALL-YEARSlibvips 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.
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 8th percentile
Impact if exploited
5.1CVSS 4.0 · MEDIUM · CNA
- ConfidentialityLow
- IntegrityLow
- AvailabilityLow
What an attacker needs
- ⚠Access: Requires local access to the host
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-126: : Buffer Over-read
CVSS vector
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
References and research data (JSON)
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2025-59933 · Updated 2026-06-27T13:27:06+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Libvips | Libvips | < 8.17.2 |
All CVSS metrics
- MEDIUM 5.1 v4.0 · CNA Primary
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 - MEDIUM 5.1 v4.0 · NVD Secondary
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 - HIGH 7.8 v3.1 · NVD Primary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4 CVE record · GitHub_M · Updated 2025-09-29T22:04:09.404Z
NVD · CVE-2025-59933 · Updated 2026-10-19T16:10:00.260 - https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1 CVE record · GitHub_M · Updated 2025-09-29T22:04:09.404Z
NVD · CVE-2025-59933 · Updated 2026-10-19T16:10:00.260
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59933.json Red Hat · CVE-2025-59933 · Updated 2026-06-27T13:27:06+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-31647 EUVD · EUVD-2025-31647
Technical & other
- https://github.com/libvips/libvips/releases/tag/v8.17.2 CVE record · GitHub_M · Updated 2025-09-29T22:04:09.404Z
NVD · CVE-2025-59933 · Updated 2026-10-19T16:10:00.260 - https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerabilityCVE record · CVE · Updated 2025-12-24T14:49:49.725Z
NVD · CVE-2025-59933 · Updated 2026-10-19T16:10:00.260 - https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerabilityCVE record · CVE · Updated 2025-12-24T14:49:49.725Z
NVD · CVE-2025-59933 · Updated 2026-10-19T16:10:00.260 - https://access.redhat.com/security/cve/CVE-2025-59933 Red Hat · CVE-2025-59933 · Updated 2026-06-27T13:27:06+00:00
- https://www.cve.org/CVERecord?id=CVE-2025-59933 Red Hat · CVE-2025-59933 · Updated 2026-06-27T13:27:06+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS