ubuntu-cve-2025-52885
Vulnerability from osv_ubuntu
Published
2025-10-10 23:15
Modified
2026-04-22 07:56
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "gir1.2-poppler-0.18",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          },
          {
            "binary_name": "libpoppler-cpp0v5",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          },
          {
            "binary_name": "libpoppler-glib8",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          },
          {
            "binary_name": "libpoppler-qt5-1",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          },
          {
            "binary_name": "libpoppler97",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          },
          {
            "binary_name": "poppler-utils",
            "binary_version": "0.86.1-0ubuntu1.7+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "poppler",
        "purl": "pkg:deb/ubuntu/poppler@0.86.1-0ubuntu1.7+esm3?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.86.1-0ubuntu1.7+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.80.0-0ubuntu1",
        "0.80.0-0ubuntu3",
        "0.80.0-0ubuntu4",
        "0.80.0-0ubuntu5",
        "0.85.0-1ubuntu1",
        "0.85.0-1ubuntu3",
        "0.86.1-0ubuntu1",
        "0.86.1-0ubuntu1.1",
        "0.86.1-0ubuntu1.2",
        "0.86.1-0ubuntu1.3",
        "0.86.1-0ubuntu1.4",
        "0.86.1-0ubuntu1.5",
        "0.86.1-0ubuntu1.6",
        "0.86.1-0ubuntu1.7",
        "0.86.1-0ubuntu1.7+esm1",
        "0.86.1-0ubuntu1.7+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-poppler-0.18",
            "binary_version": "22.02.0-2ubuntu0.12"
          },
          {
            "binary_name": "libpoppler-cpp0v5",
            "binary_version": "22.02.0-2ubuntu0.12"
          },
          {
            "binary_name": "libpoppler-glib8",
            "binary_version": "22.02.0-2ubuntu0.12"
          },
          {
            "binary_name": "libpoppler-qt5-1",
            "binary_version": "22.02.0-2ubuntu0.12"
          },
          {
            "binary_name": "libpoppler118",
            "binary_version": "22.02.0-2ubuntu0.12"
          },
          {
            "binary_name": "poppler-utils",
            "binary_version": "22.02.0-2ubuntu0.12"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "poppler",
        "purl": "pkg:deb/ubuntu/poppler@22.02.0-2ubuntu0.12?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "22.02.0-2ubuntu0.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "21.06.1-1",
        "21.11.0-1~ubuntu2",
        "22.02.0-2",
        "22.02.0-2ubuntu0.1",
        "22.02.0-2ubuntu0.2",
        "22.02.0-2ubuntu0.3",
        "22.02.0-2ubuntu0.4",
        "22.02.0-2ubuntu0.5",
        "22.02.0-2ubuntu0.6",
        "22.02.0-2ubuntu0.7",
        "22.02.0-2ubuntu0.8",
        "22.02.0-2ubuntu0.9",
        "22.02.0-2ubuntu0.10",
        "22.02.0-2ubuntu0.11"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-poppler-0.18",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "libpoppler-cpp0t64",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "libpoppler-glib8t64",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "libpoppler-qt5-1t64",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "libpoppler-qt6-3t64",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "libpoppler134",
            "binary_version": "24.02.0-1ubuntu9.8"
          },
          {
            "binary_name": "poppler-utils",
            "binary_version": "24.02.0-1ubuntu9.8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "poppler",
        "purl": "pkg:deb/ubuntu/poppler@24.02.0-1ubuntu9.8?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "24.02.0-1ubuntu9.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.08.0-2ubuntu1",
        "23.12.0-1ubuntu2",
        "24.02.0-1ubuntu2",
        "24.02.0-1ubuntu8",
        "24.02.0-1ubuntu9",
        "24.02.0-1ubuntu9.1",
        "24.02.0-1ubuntu9.2",
        "24.02.0-1ubuntu9.3",
        "24.02.0-1ubuntu9.4",
        "24.02.0-1ubuntu9.5",
        "24.02.0-1ubuntu9.6",
        "24.02.0-1ubuntu9.7"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-poppler-0.18",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "libpoppler-cpp2",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "libpoppler-glib8t64",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "libpoppler-qt5-1t64",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "libpoppler-qt6-3t64",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "libpoppler147",
            "binary_version": "25.03.0-10ubuntu0.1"
          },
          {
            "binary_name": "poppler-utils",
            "binary_version": "25.03.0-10ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "poppler",
        "purl": "pkg:deb/ubuntu/poppler@25.03.0-10ubuntu0.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "25.03.0-10ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "25.03.0-3",
        "25.03.0-4",
        "25.03.0-4build1",
        "25.03.0-4ubuntu1",
        "25.03.0-5",
        "25.03.0-6",
        "25.03.0-7",
        "25.03.0-10"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2025-52885",
  "modified": "2026-04-22T07:56:55Z",
  "published": "2025-10-10T23:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-52885"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-52885"
    },
    {
      "type": "REPORT",
      "url": "https://securitylab.github.com/advisories/GHSL-2025-042_poppler/"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884#note_3114334"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7858-1"
    }
  ],
  "related": [
    "USN-7858-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-52885"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…