Skip to content
Heist/ feed
Back to feed
MediumFix available

poppler — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-52885

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.

Products
poppler
Affected versions
22.12.0-2, 22.12.0-2+deb12u1, 25.03.0-10, 25.03.0-11, 25.03.0-5, 25.03.0-5+deb13u2, 25.03.0-6, 25.03.0-7, 25.03.0-9
Fixed versions
22.12.0-2+deb12u2, 25.03.0-11.1, 25.03.0-5+deb13u3
CVEs
CVE-2025-52885
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-52885

core-osv · Original source

Published 10 Oct 2025, 23:15 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.

osv:DEBIAN-CVE-2025-52885

poppler

Fixed versions: 22.12.0-2+deb12u2

poppler

Fixed versions: 25.03.0-5+deb13u3

poppler

Fixed versions: 25.03.0-11.1

Complete source record
{
  "id": "0bd4ab000c8f0e1270562434c21251d718b15cad5fae4d44e62e79c5491a259f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-52885",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-52885",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-52885",
    "products": [
      {
        "name": {
          "value": "poppler",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "22.12.0-2+deb12u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "22.12.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "22.12.0-2+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "poppler",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "25.03.0-5+deb13u3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "25.03.0-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "25.03.0-5+deb13u2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "poppler",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "25.03.0-11.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "25.03.0-10",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "25.03.0-11",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "25.03.0-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "25.03.0-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "25.03.0-7",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "25.03.0-9",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-52885",
      "aliases": [
        "DEBIAN-CVE-2025-52885"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "22.12.0-2+deb12u2"
                }
              ]
            }
          ],
          "package": {
            "name": "poppler",
            "purl": "pkg:deb/debian/poppler?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "22.12.0-2",
            "22.12.0-2+deb12u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-52885.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "25.03.0-5+deb13u3"
                }
              ]
            }
          ],
          "package": {
            "name": "poppler",
            "purl": "pkg:deb/debian/poppler?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "25.03.0-5",
            "25.03.0-5+deb13u2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-52885.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "25.03.0-11.1"
                }
              ]
            }
          ],
          "package": {
            "name": "poppler",
            "purl": "pkg:deb/debian/poppler?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "25.03.0-10",
            "25.03.0-11",
            "25.03.0-5",
            "25.03.0-6",
            "25.03.0-7",
            "25.03.0-9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-52885.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:27.262455778Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-52885"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-52885"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-52885",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 417006,
  "published_at": "2025-10-10T23:15:36.397+00:00"
}