{"id":"CVE-2025-52885","published":"2025-10-10T22:11:20Z","modified":"2025-11-04T21:11:41Z","title":"GHSL-2025-042: Poppler has Use-After-Free","vendor":"poppler","product":"poppler","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00172,"percentile":0.06782,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2025-042_poppler/","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884","tags":["x_refsource_MISC"]},{"url":"https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884#note_3114334","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/13/2","tags":[]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":1.36},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"poppler","affectedVersions":[{"vendor":"poppler","product":"poppler","versions":["< 25.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-14T14:59:44.878328Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-33795","exploited":false,"provenance":"source"}}