CVE-2025-52885

Publication date 10 October 2025

Last updated 6 November 2025


Ubuntu priority

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 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.

Status

Package Ubuntu Release Status
poppler 25.10 questing
Fixed 25.03.0-10ubuntu0.1
25.04 plucky
Fixed 25.03.0-3ubuntu1.4
24.04 LTS noble
Fixed 24.02.0-1ubuntu9.8
22.04 LTS jammy
Fixed 22.02.0-2ubuntu0.12
20.04 LTS focal
Fixed 0.86.1-0ubuntu1.7+esm3
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial