Use After Free in Freedesktop Poppler
CVE-2025-52886
Poppler is a PDF rendering library. Versions prior to 25.06.0 use `std::atomic_int` for reference counting. Because `std::atomic_int` is only 32 bits, it is possible to overflow the reference count and trigger a use-after-free. Version 25.06.0 patches the issue.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 39.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Freedesktop Poppler
- Poppler — versions < 25.06.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://securitylab.github.com/advisories/GHSL-2025-054_poppler/ (Exploit, Third Party Advisory)
- https://gitlab.freedesktop.org/poppler/poppler/-/commit/04bd91684ed41d67ae0f10cde0660e4ed74ac203 (Patch)
- https://gitlab.freedesktop.org/poppler/poppler/-/commit/ac36affcc8486de38e8905a8d6547a3464ff46e5 (Patch)
- https://gitlab.freedesktop.org/poppler/poppler/-/issues/1581 (Exploit, Issue Tracking, Vendor Advisory)
- https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1828 (Product)
- www.openwall.com/lists/oss-security/2025/07/11/5
- www.openwall.com/lists/oss-security/2025/07/12/1