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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-10 · Modified: 2025-11-04
- Aliases: MGASA-2025-0251, SUSE-SU-2025:21132-1, UBUNTU-CVE-2025-52885, USN-7858-1, DEBIAN-CVE-2025-52885, openSUSE-SU-2025:15648-1, openSUSE-SU-2025:20068-1
- Record: https://cvemate.com/vulnerability/CVE-2025-52885 · JSON: https://cvemate.com/vulnerability/CVE-2025-52885/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v4.0, CVE.org) 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
- EPSS: 0.173%, percentile 7.026%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian poppler (Debian): \< 22.12.0-2+deb12u2 \| \< 25.03.0-5+deb13u3 \| \< 25.03.0-11.1
- ubuntu poppler (Ubuntu): \< 0.86.1-0ubuntu1.7+esm3 \| \< 22.02.0-2ubuntu0.12 \| \< 24.02.0-1ubuntu9.8 \| \< 25.03.0-10ubuntu0.1
- mageia poppler (Mageia): \< 23.02.0-1.8.mga9
- poppler poppler: \< 25.10.0
- opensuse poppler-qt5&distro=openSUSE Leap 16.0 (openSUSE): \< 25.04.0-160000.3.1
- opensuse poppler-qt6&distro=openSUSE Leap 16.0 (openSUSE): \< 25.04.0-160000.3.1
- opensuse poppler&distro=openSUSE Leap 16.0 (openSUSE): \< 25.04.0-160000.3.1
- opensuse poppler&distro=openSUSE Tumbleweed (openSUSE): \< 25.09.1-2.1
- suse poppler-qt6&distro=SUSE Linux Enterprise Server 16.0 (SUSE Linux Enterprise): \< 25.04.0-160000.3.1
- suse poppler-qt6&distro=SUSE Linux Enterprise Server for SAP applications 16.0 (SUSE Linux Enterprise): \< 25.04.0-160000.3.1
- suse poppler&distro=SUSE Linux Enterprise Server 16.0 (SUSE Linux Enterprise): \< 25.04.0-160000.3.1
- suse poppler&distro=SUSE Linux Enterprise Server for SAP applications 16.0 (SUSE Linux Enterprise): \< 25.04.0-160000.3.1

## 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>
- <https://advisories.mageia.org/MGASA-2025-0251.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34668>
- <https://www.openwall.com/lists/oss-security/2025/10/13/2>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202521132-1/>
- <https://bugzilla.suse.com/1251940>
- <https://www.suse.com/security/cve/CVE-2025-52885>
- <https://ubuntu.com/security/CVE-2025-52885>
- <https://www.cve.org/CVERecord?id=CVE-2025-52885>
- <https://ubuntu.com/security/notices/USN-7858-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-52885>

---

Data as of 2026-12-05T03:08:38.851Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
