← Vulnerability feed

Vulnerability record · CVE-2023-2662 · published 11 May 2023

CVE-2023-2662: Xpdfreader xpdf divide by zero vulnerability

Xpdfreader · Xpdf

In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a divide-by-zero.

5.5 CVSS 3.1 Medium EPSS 0.28% · top 79.1% CWE-369 · Divide by zero
5.5CVSS 3.1 base score
0.28%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a divide-by-zero.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-2662 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2021-30860Apple PDF integer overflow allows arbitrary code executionAn integer overflow in PDF processing was fixed by improved input validation in Apple iOS, iPadOS, macOS, watchOS and related PDF libraries (xpdf, po…KEVEPSS 76%analysed7.8CVE-2022-38222Xpdfreader xpdf use after free vulnerabilityThere is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf 4.04. It can be triggered by sending a crafted PDF file to …EPSS 0.47%7.8CVE-2022-38928Xpdfreader xpdf null pointer dereference vulnerabilityXPDF 4.04 is vulnerable to Null Pointer Dereference in FoFiType1C.cc:2393.EPSS 0.43%7.8CVE-2022-38171Xpdfreader xpdf integer overflow vulnerabilityXpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a speci…EPSS 0.34%7.8CVE-2022-33108Xpdfreader xpdf out-of-bounds write vulnerabilityXPDF v4.04 was discovered to contain a stack overflow vulnerability via the Object::Copy class of object.cc files.EPSS 1.1%7.8CVE-2022-30524Xpdfreader xpdf out-of-bounds write vulnerabilityThere is an invalid memory access in the TextLine class in TextOutputDev.cc in Xpdf 4.0.4 because the text extractor mishandles characters at large y…EPSS 1.6%7.8CVE-2020-24999Xpdfreader xpdf out-of-bounds write vulnerabilityThere is an invalid memory access in the function fprintf located in Error.cc in Xpdf 4.0.2. It can be triggered by sending a crafted PDF file to the…EPSS 1.1%7.8CVE-2020-24996Xpdfreader xpdf vulnerabilityThere is an invalid memory access in the function TextString::~TextString() located in Catalog.cc in Xpdf 4.0.2. It can be triggered by (for example)…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2023-2662), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.