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

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 9% of CVEs (2026-11-30)
- Published: 2025-10-10T22:11:20.494Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- poppler poppler: < 25.10.0

## References

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

## Sources

- CVE List: [CVE-2025-52885](https://www.cve.org/CVERecord?id=CVE-2025-52885), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2025-52885](https://nvd.nist.gov/vuln/detail/CVE-2025-52885), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-52885 · Whole record: https://cve.day/CVE-2025-52885.json · Rebuilt by cve.day 2026-11-25T22:59:05.781Z
