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::vectorstores 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.
{
"sources": [
{
"published": "2025-10-10T23:15:36.397Z",
"modified": "2025-11-04T22:16:20.757Z",
"id": "CVE-2025-52885",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-52885",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-52885",
"imported": "2026-04-13T04:14:53.359Z"
},
{
"published": "2025-10-10T22:11:20Z",
"modified": "2025-11-04T21:11:41Z",
"id": "EUVD-2025-33795",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-33795",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-33795",
"imported": "2026-04-13T04:14:34.616Z"
}
],
"license": "CC-BY-4.0"
}