# CVE-2024-6239: Poppler: pdfinfo: crash in broken documents when using -dests parameter

> An attacker can cause a denial of service in the Poppler pdfinfo utility by providing malformed input files when using the -dests parameter.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 21 Jun 2024
- **Updated:** 20 Nov 2025
- **Also known as:** ALPINE-CVE-2024-6239, ALSA-2024:5305, ALSA-2024:9167, BELL-CVE-2024-6239, CLSA-2025-1744631318, CLSA-2026-1787396206, DEBIAN-CVE-2024-6239, ECHO-cc4c-61e0-ef48, GHSA-cc4h-7j78-49pj, JLSEC-2026-84, MGASA-2024-0260, OESA-2024-1773, OESA-2024-1813, RHSA-2024:5305, RHSA-2024:9167, RLSA-2024:5305, RLSA-2024:9167, SUSE-SU-2024:2332-1, SUSE-SU-2024:2333-1, SUSE-SU-2024:2334-1, UBUNTU-CVE-2024-6239, USN-6915-1, openSUSE-SU-2024:14093-1

## What is CVE-2024-6239?

CVE-2024-6239 is a high-severity denial of service vulnerability in Freedesktop Poppler, published on 21 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A flaw was found in the Poppler's Pdfinfo utility. This issue occurs when using -dests parameter with pdfinfo utility. By using certain malformed input files, an attacker could cause the utility to crash, leading to a denial of service.

Weakness: CWE-20 (Improper Input Validation)

## Which versions are affected by CVE-2024-6239?

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `poppler` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-cpp` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-cpp-devel` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-devel` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-glib` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-glib-devel` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-glib-doc` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-qt5` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-qt5-devel` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler-utils` | AlmaLinux:8 | All versions | 20.11.0-12.el8_10 |
| `poppler` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-cpp` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-cpp-devel` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-devel` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-glib` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-glib-devel` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-glib-doc` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-qt5` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-qt5-devel` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler-utils` | AlmaLinux:9 | All versions | 21.01.0-21.el9 |
| `poppler` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-cpp-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-glib` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-glib-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-qt5` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-qt5-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-utils` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-utils-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:20.11.0-12.el8_10 |
| `poppler-cpp` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-cpp-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-cpp-devel` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-debugsource` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-devel` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-glib-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-glib-devel` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-glib-doc` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |
| `poppler-qt5-debuginfo` | Red Hat:enterprise_linux:8::crb | All versions | 0:20.11.0-12.el8_10 |

Products: Freedesktop Poppler, Redhat Enterprise Linux.

## How do I fix CVE-2024-6239?

Apply the vendor's patch.

## Is CVE-2024-6239 being exploited?

There is no known exploitation of CVE-2024-6239 in the wild and no public exploit code.

## Other vulnerabilities in Freedesktop Poppler

- [CVE-2018-21009](https://insights.sbomify.com/CVE-2018-21009/): Integer overflow in n/a (high 8.8)
- [CVE-2019-12293](https://insights.sbomify.com/CVE-2019-12293/): Memory corruption in n/a (high 8.8)
- [CVE-2019-10872](https://insights.sbomify.com/CVE-2019-10872/): Memory corruption in n/a (high 8.8)
- [CVE-2019-9543](https://insights.sbomify.com/CVE-2019-9543/): Denial of service in n/a (high 8.8)
- [CVE-2019-9545](https://insights.sbomify.com/CVE-2019-9545/): Denial of service in n/a (high 8.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-6239 and fix it if it is affected.

What it is: CVE-2024-6239 is a high-severity denial of service vulnerability in Freedesktop Poppler, published on 21 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-6239 in the wild and no public exploit code.

Affected product: Freedesktop Poppler. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-6239/ (Markdown: https://insights.sbomify.com/CVE-2024-6239/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-6239
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-6239
- OSV: https://osv.dev/vulnerability/CVE-2024-6239

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-6239/
Summaries are generated and may contain mistakes; the official description above is the record.
