# CVE-2025-59933: libvips is vulnerable to Buffer Over-Read in poppler-based pdfload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-126
- **Published:** 2025-09-29T22:04:09.404Z
- **Modified:** 2026-10-19T16:10:00.260Z

## Who should check

- Anyone running libvips \< 8.17.2

## 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 and fixed versions

- libvips: \< 8.17.2 (cvelist)

## Mitigation

- Upgrade libvips to 8.17.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-59933. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59933.md
Affected: libvips < 8.17.2
Fixed in: libvips 8.17.2

Steps:
1. Search this machine and project for libvips: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-59933 being exploited?

There is no confirmed exploitation: CVE-2025-59933 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-59933?

Medium: CVSS 5.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-59933?

libvips \< 8.17.2.

### Is there a fix for CVE-2025-59933?

Yes. Fixed in libvips 8.17.2. Upgrade libvips to 8.17.2 or later.

### How do I check if I'm affected by CVE-2025-59933?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/libvips/libvips/security/advisories/GHSA-q8px-4w5q-c2r4>
- patch: <https://github.com/libvips/libvips/commit/a58bfae9223a5466cc81ba9fe6dfb08233cf17d1>
- other: <https://github.com/libvips/libvips/releases/tag/v8.17.2>
- other: <https://www.vicarius.io/vsociety/posts/cve-2025-59933-detect-libvips-vulnerability>
- other: <https://www.vicarius.io/vsociety/posts/cve-2025-59933-mitigate-libvips-vulnerability>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-59933>

HTML: <https://flawdb.com/CVE-2025-59933> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-59933>
