Bug 2403224 (CVE-2025-52885) - CVE-2025-52885 poppler: Use-After-Free in StructTreeRoot class
Summary: CVE-2025-52885 poppler: Use-After-Free in StructTreeRoot class
Keywords:
Status: NEW
Alias: CVE-2025-52885
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2403483 2403484 2403486 2403485
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-10 23:01 UTC by OSIDB Bzimport
Modified: 2025-10-28 08:25 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-10 23:01:38 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.