Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-52885 EUVD-2025-33795

GHSL-2025-042: Poppler has Use-After-Free

Published Oct 10, 2025 · Updated Nov 4, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
poppler poppler < 25.10.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 poppler 25.03.0-11.1 —
Debian 13 poppler 25.03.0-5+deb13u3 —
Debian 12 poppler 22.12.0-2+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 poppler 25.03.0-10ubuntu0.1 USN-7858-1
Ubuntu 24.04 LTS poppler 24.02.0-1ubuntu9.8 USN-7858-1
Ubuntu 22.04 LTS poppler 22.02.0-2ubuntu0.12 USN-7858-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS poppler 0.86.1-0ubuntu1.7+esm3 USN-7858-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 poppler +11 26.01.0-7.hum1 RHSA-2026:7364
ReleasePackageFixed inAdvisory
SLES 15 SP7 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1, SUSE-SU-2025:3779-1
SLES 15 SP7 poppler-qt5 +1 24.03.0-150600.3.24.1 SUSE-SU-2025:3779-1
SLES 15 SP6 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1, SUSE-SU-2025:3779-1
SLES 15 SP6 poppler-qt5 +1 24.03.0-150600.3.24.1 SUSE-SU-2025:3779-1
SLES 15 SP5 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1, SUSE-SU-2025:3900-1
SLES 15 SP4 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SLES 15 SP3 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 poppler +1 25.04.0-160000.3.1 SUSE-SU-2025:21132-1
SLES for SAP 15 SP5 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1, SUSE-SU-2025:3900-1
SLES for SAP 15 SP4 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SLES for SAP 15 SP3 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SLES 16.0 poppler +1 25.04.0-160000.3.1 SUSE-SU-2025:21132-1
SLE HPC 15 SP5 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1, SUSE-SU-2025:3900-1
SLE HPC 15 SP4 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SLE HPC 15 SP3 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SUSE Manager Server LTS 4.3 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SUSE Manager Proxy LTS 4.3 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
SUSE Enterprise Storage 7.1 poppler 0.79.0-150200.3.46.1 SUSE-SU-2025:3910-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed poppler 25.09.1-2.1 openSUSE-SU-2025:15648-1
openSUSE Leap 16.0 poppler +2 25.04.0-160000.3.1 openSUSE-SU-2025:20068-1
openSUSE Leap 15.6 poppler +2 24.03.0-150600.3.24.1 SUSE-SU-2025:3779-1

Advisories 10

References