# CVE-2023-2662: Divide-by-zero in Xpdf 4.04 due to bad color space object

- Severity: Low 2.9 (CVSS:3.1, scored by GandC) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-11T20:08:25.610Z
- Modified: 2026-06-17T05:53:08.080Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GandC

## Description

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

(As written by CVE List.)

## Affected

- Xpdf Xpdf: 4.04
- xpdfreader xpdf: up to 4.04

## Every score

- GandC: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://forum.xpdfreader.com/viewtopic.php?t=42505> (exploit)

## Sources

- CVE List: [CVE-2023-2662](https://www.cve.org/CVERecord?id=CVE-2023-2662), CVE Terms of Use, modified 2025-01-24
- NVD: [CVE-2023-2662](https://nvd.nist.gov/vuln/detail/CVE-2023-2662), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2662 · Whole record: https://cve.day/CVE-2023-2662.json · Rebuilt by cve.day 2026-11-25T22:58:24.108Z
