CVE-2025-52885
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPoppler 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceUse-after-free (write) vulnerability in Poppler's StructTreeRoot class where raw pointers to std::vector elements stored in refToParentMap become dangling when the vector resizes. The pointers are invalidated upon reallocation, leading to potential memory corruption when the code writes through these invalid pointers.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Poppler versionRun 'poppler-config --version' or 'pdftotext -v' to retrieve the installed Poppler version. On Linux systems, also check '/usr/lib/libpoppler.so*' files and use 'readelf -d' or check the package manager with 'dpkg -l | grep poppler' or 'rpm -qa | grep poppler'.Affected if Version is lower than 25.10.0 (e.g., 25.09.0, 24.x, 23.x, etc.)
-
Confirm Poppler is in useIdentify applications or services that process PDF files and check if they link to the Poppler library using 'ldd <executable>' or by reviewing the application's dependency list.Affected if Applications process PDF files using Poppler library (e.g., Okular, Evince, PDF viewers, document converters)
-
Determine if PDF logical structure is processedThe vulnerability triggers when processing PDFs with complex logical structure (StructTreeRoot). Check if your workflow involves PDFs with tagged content, accessibility structures, or outline hierarchies. Use tools like 'pdfinfo' or examine PDF objects with 'pdftk dump' to identify PDFs containing '/StructTreeRoot' objects.Affected if PDFs containing logical structure (/StructTreeRoot) are processed by the Poppler version in use
You are affected if Poppler version is below 25.10.0 AND your system processes PDF files with logical structure using that vulnerable Poppler installation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Poppler version 25.10.0 or later which contains the patch. As an interim measure, avoid processing PDF files with complex logical structure until patched.
Poppler 25.10.0 or later
- 1. Identify the current Poppler version installed in your system using package manager queries or checking library version
- 2. Download or obtain Poppler version 25.10.0 or later from the official source (gitlab.freedesktop.org/poppler/poppler)
- 3. Compile and install the new version following standard build procedures, or update via your system's package manager if available
- 4. Verify the installation by checking that the new version is active (e.g., `pdftoppm -v` or checking library files)
- 5. Test PDF rendering functionality to ensure the upgrade does not break existing workflows
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation12.0 h
- Testing10.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $8,928.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-52885 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-52885 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data