# CVE-2022-27135: xpdf 4.03 has heap buffer overflow in the function readXRefTable located in XRef.cc.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- 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): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-04-25T12:48:10.000Z
- Modified: 2026-06-17T04:36:23.927Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

xpdf 4.03 has heap buffer overflow in the function readXRefTable located in XRef.cc. An attacker can exploit this bug to cause a Denial of Service (Segmentation fault) or other unspecified effects by sending a crafted PDF file to the pdftoppm binary.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xpdfreader xpdf: 4.03

## Every score

- 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/verf1sh/Poc/blob/master/pic_ppm.png> (exploit, third-party-advisory)
- <https://github.com/verf1sh/Poc/blob/master/poc_ppm> (exploit, third-party-advisory)
- <https://forum.xpdfreader.com/viewtopic.php?f=3&t=42232> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-27135](https://www.cve.org/CVERecord?id=CVE-2022-27135), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-27135](https://nvd.nist.gov/vuln/detail/CVE-2022-27135), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-27135 · Whole record: https://cve.day/CVE-2022-27135.json · Rebuilt by cve.day 2026-11-25T22:58:11.223Z
