{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-52885","id":"CVE-2025-52885","title":"GHSL-2025-042: Poppler has Use-After-Free","description":"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","descriptionLong":"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.","published":"2025-10-10T22:11:20.494Z","updated":"2026-10-19T16:10:00.260Z","reserved":"2025-06-20T17:42:25.708Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.1,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.1,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.1,"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/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["poppler"],"affectedProducts":[{"vendor":"poppler","product":"poppler","defaultStatus":null,"versions":[{"version":"< 25.10.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2025-042_poppler/","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884","tags":["x_refsource_MISC","fix"]},{"url":"https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884#note_3114334","tags":["x_refsource_MISC","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/13/2","tags":[]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00172,"epssPercentile":0.06724,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-52885","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52885","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-52885","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-52885","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}