# CVE-2025-52885: GHSL-2025-042: Poppler has Use-After-Free

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

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-10T22:11:20.494Z
- **Modified:** 2026-10-19T16:10:00.260Z

## Who should check

- Anyone running poppler \< 25.10.0

## Description

Poppler ia a library for rendering PDF files, and examining or modifying their structure. A use-after-free (write) vulnerability has been detected in versions Poppler prior to 25.10.0 within the StructTreeRoot class. The issue arises from the use of raw pointers to elements of a \`std::vector\`, which can lead to dangling pointers when the vector is resized. The vulnerability stems from the way that refToParentMap stores references to \`std::vector\` elements using raw pointers. These pointers may become invalid when the vector is resized. This vulnerability is a common security problem involving the use of raw pointers to \`std::vectors\`. Internally, \`std::vector \`stores its elements in a dynamically allocated array. When the array reaches its capacity and a new element is added, the vector reallocates a larger block of memory and moves all the existing elements to the new location. At this point if any pointers to elements are stored before a resize occurs, they become dangling pointers once the reallocation happens. Version 25.10.0 contains a patch for the issue.

## Affected and fixed versions

- poppler: \< 25.10.0 (cvelist)

## Mitigation

- Upgrade poppler to 25.10.0 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-52885. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52885.md
Affected: poppler < 25.10.0
Fixed in: poppler 25.10.0

Steps:
1. Search this machine and project for poppler: 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-52885 being exploited?

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

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

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

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

poppler \< 25.10.0.

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

Yes. Fixed in poppler 25.10.0. Upgrade poppler to 25.10.0 or later.

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

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

- other: <https://securitylab.github.com/advisories/GHSL-2025-042_poppler/>
- other: <https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884>
- other: <https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884#note_3114334>
- other: <http://www.openwall.com/lists/oss-security/2025/10/13/2>

## 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-52885>

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