VDB

CVE-2025-52885

CVE-2025-52885 PUBLISHED CVSS 6.099999904632568 MEDIUM

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.

EPSS 0.03% · 8.5th percentile

Risk Scores

CVSS 4.0
6.099999904632568
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
EPSS Score
0.03%
8.5th percentile

Affected Products

VendorProductVersions
popplerpoppler*

Timeline

  • Oct 10, 2025 CVE Published
  • Oct 11, 2025 EPSS Score
  • Oct 13, 2025 PoC Published
  • Oct 13, 2025 PoC Published
  • Oct 17, 2025 EPSS Score
  • Oct 17, 2025 PoC Published
  • Oct 23, 2025 EPSS Score
  • Oct 30, 2025 EPSS Score
  • Nov 5, 2025 EPSS Score
  • Nov 6, 2025 PoC Published
  • Nov 6, 2025 PoC Published
  • Nov 6, 2025 PoC Published
Open in Interactive Console →
$ Console Community · 100/wk Open console ›