Advisory

DEBIAN-CVE-2025-52885

Also known as: CVE-2025-52885

Summary

The record has no 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::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.

Severity

Not rated by the source.

Dates

Published
2025-10-10 23:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

poppler

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 22.12.0-2+deb12u2 (ecosystem)

Fixed versions

22.12.0-2+deb12u2

Fix

  • Fixed version 22.12.0-2+deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

poppler

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 25.03.0-5+deb13u3 (ecosystem)

Fixed versions

25.03.0-5+deb13u3

Fix

  • Fixed version 25.03.0-5+deb13u3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

poppler

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 25.03.0-11.1 (ecosystem)

Fixed versions

25.03.0-11.1

Fix

  • Fixed version 25.03.0-11.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences