Skip to content

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

MediumCVSS 6.1 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/poppler(Debian 12) < 22.12.0-2+deb12u2; = 22.12.0-2; = 22.12.0-2+deb12u1 22.12.0-2+deb12u2 Fixed
debian/poppler(Debian 13) < 25.03.0-5+deb13u3; = 25.03.0-5; = 25.03.0-5+deb13u2 25.03.0-5+deb13u3 Fixed
debian/poppler(Debian 14) < 25.03.0-11.1; = 25.03.0-5; = 25.03.0-6; = 25.03.0-7 +3 more 25.03.0-11.1 Fixed
ubuntu/poppler(Ubuntu 22.04) < 22.02.0-2ubuntu0.12 22.02.0-2ubuntu0.12 Fixed
ubuntu/poppler(Ubuntu 24.04) < 24.02.0-1ubuntu9.8 24.02.0-1ubuntu9.8 Fixed
poppler = < 25.10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/poppler(Debian:12) < 22.12.0-2+deb12u2 22.12.0-2+deb12u2
debian/poppler(Debian:12) = 22.12.0-2 No fix listed
debian/poppler(Debian:12) = 22.12.0-2+deb12u1 No fix listed
debian/poppler(Debian:13) < 25.03.0-5+deb13u3 25.03.0-5+deb13u3
debian/poppler(Debian:13) = 25.03.0-5 No fix listed
debian/poppler(Debian:13) = 25.03.0-5+deb13u2 No fix listed
debian/poppler(Debian:14) < 25.03.0-11.1 25.03.0-11.1
debian/poppler(Debian:14) = 25.03.0-10 No fix listed
debian/poppler(Debian:14) = 25.03.0-11 No fix listed
debian/poppler(Debian:14) = 25.03.0-5 No fix listed
debian/poppler(Debian:14) = 25.03.0-6 No fix listed
debian/poppler(Debian:14) = 25.03.0-7 No fix listed
debian/poppler(Debian:14) = 25.03.0-9 No fix listed
poppler = < 25.10.0 No fix listed
ubuntu/poppler(Ubuntu:22.04) < 22.02.0-2ubuntu0.12 22.02.0-2ubuntu0.12
ubuntu/poppler(Ubuntu:24.04) < 24.02.0-1ubuntu9.8 24.02.0-1ubuntu9.8

References