CVE-2025-52885
CVE-2025-52885 · GHSL-2025-042: Poppler has Use-After-Free
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 6.1 · Media · EPSS 0,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
poppler
- Versiones
- < 25.10.0: Afectada
Sin corrección publicada
poppler Debian:12
- Versiones
- 22.12.0-2
- 22.12.0-2+deb12u1
- Intervalos de versiones afectados
- ECOSYSTEM: < 22.12.0-2+deb12u2
Actualiza a 22.12.0-2+deb12u2
poppler Debian:13
- Versiones
- 25.03.0-5
- 25.03.0-5+deb13u2
- Intervalos de versiones afectados
- ECOSYSTEM: < 25.03.0-5+deb13u3
Actualiza a 25.03.0-5+deb13u3
poppler Debian:14
- Versiones
- 25.03.0-10
- 25.03.0-11
- 25.03.0-5
- 25.03.0-6
- 25.03.0-7
- 25.03.0-9
- Intervalos de versiones afectados
- ECOSYSTEM: < 25.03.0-11.1
Actualiza a 25.03.0-11.1
poppler Ubuntu:Pro:20.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 0.86.1-0ubuntu1.7+esm3
Actualiza a 0.86.1-0ubuntu1.7+esm3
poppler Ubuntu:22.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 22.02.0-2ubuntu0.12
Actualiza a 22.02.0-2ubuntu0.12
poppler Ubuntu:24.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 24.02.0-1ubuntu9.8
Actualiza a 24.02.0-1ubuntu9.8
poppler Ubuntu:25.10
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 25.03.0-10ubuntu0.1
Actualiza a 25.03.0-10ubuntu0.1
Fuentes originales
- https://securitylab.github.com/advisories/GHSL-2025-042_poppler/
- https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884
- https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1884#note_3114334
- http://www.openwall.com/lists/oss-security/2025/10/13/2
- https://nvd.nist.gov/vuln/detail/CVE-2025-52885