Vulnerability · Published Feb 7, 2023 · Assigned by GitHub_M

CVE-2023-24808Denial Of Service when opening a corrupt PDF file in pdfio

Medium 5.3

In plain English

A medium-severity infinite loop in pdfio from michaelrsweet. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.7%top 45.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

PDFio is a C library for reading and writing PDF files. In versions prior to 1.1.0 a denial of service (DOS) vulnerability exists in the pdfio parser. Crafted pdf files can cause the program to run at 100% utilization and never terminate. The pdf which causes this crash found in testing is about 28kb in size and was discovered via fuzzing. Anyone who uses this library either as a standalone binary or as a library can be DOSed when attempting to parse this type of file. Web servers or other automated processes which rely on this code to turn pdf submissions into plaintext can be DOSed when an attacker uploads the pdf. Please see the linked GHSA for an example pdf. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ippsample0.0~git20220215.f365352-1DEBIAN-CVE-2023-24808
Debian:14ippsample0.0~git20220215.f365352-1DEBIAN-CVE-2023-24808
Ubuntu:22.04:LTSippsampleno fix listedUBUNTU-CVE-2023-24808
Ubuntu:24.04:LTSippsampleno fix listedUBUNTU-CVE-2023-24808
Ubuntu:25.10ippsampleno fix listedUBUNTU-CVE-2023-24808
Ubuntu:26.04:LTSippsampleno fix listedUBUNTU-CVE-2023-24808
Ubuntu:26.10ippsampleno fix listedUBUNTU-CVE-2023-24808

Affected products (as reported)

VendorProductVersions
michaelrsweet pdfio < 1.1.0

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References