Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-24808 EUVD-2023-28806

Denial Of Service when opening a corrupt PDF file in pdfio

Published Feb 7, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
michaelrsweet pdfio < 1.1.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 ippsample 0.0~git20220215.f365352-1 —
Debian 12 ippsample 0.0~git20220215.f365352-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ippsample No fix yet —
Ubuntu 26.04 LTS ippsample No fix yet —
Ubuntu 25.10 ippsample No fix yet —
Ubuntu 24.04 LTS ippsample No fix yet —
Ubuntu 22.04 LTS ippsample No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ippsample No fix yet —
Ubuntu 18.04 LTS ippsample No fix yet —

References