CVEfocus › CVE database › CVE-2025-52885

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

CVSS 6.1 MediumEPSS 0.2% (higher than 9% of CVEs)Published 2025-10-10Updated 2025-11-04Assigner: GitHub_M

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.

CWE-416

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
21Fix pending
33Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10popplerFixed25.03.0-10ubuntu0.1UBUNTU-CVE-2025-52885
Ubuntu 24.04popplerFixed24.02.0-1ubuntu9.8UBUNTU-CVE-2025-52885
Ubuntu 22.04popplerFixed22.02.0-2ubuntu0.12UBUNTU-CVE-2025-52885
Ubuntu 20.04popplerFix pending0.86.1-0ubuntu1.7+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-52885
Debian 14popplerFixed25.03.0-11.1DEBIAN-CVE-2025-52885
Debian 13popplerFixed25.03.0-5+deb13u3DEBIAN-CVE-2025-52885
Debian 12popplerFixed22.12.0-2+deb12u2DEBIAN-CVE-2025-52885
Red Hat Enterprise Linux 10popplerFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-cppFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-cpp-develFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-develFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-glibFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-glib-develFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-glib-docFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-qt6Fix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-qt6-develFix pending
Fix deferred
Red Hat Enterprise Linux 10poppler-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 9popplerFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-cppFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-cpp-develFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-develFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-glibFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-glib-develFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-glib-docFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-qt5Fix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-qt5-develFix pending
Fix deferred
Red Hat Enterprise Linux 9poppler-utilsFix pending
Fix deferred
Red Hat Enterprise Linux 8popplerWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-cppWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-cpp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-glibWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-glib-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-glib-docWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-qt5Will not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-qt5-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8poppler-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 7compat-poppler022Will not fix
Out of support scope
Red Hat Enterprise Linux 7compat-poppler022-cppWill not fix
Out of support scope
Red Hat Enterprise Linux 7compat-poppler022-glibWill not fix
Out of support scope
Red Hat Enterprise Linux 7compat-poppler022-qtWill not fix
Out of support scope
Red Hat Enterprise Linux 7popplerWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-cppWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-cpp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-demosWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-glibWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-glib-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-qtWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-qt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7poppler-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6popplerWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-glibWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-glib-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-qtWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-qt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-qt4Will not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-qt4-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6poppler-utilsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.