CVE-2022-30524

HIGH LAB

Xpdf 4.0.4 - Out-of-bounds Write in TextOutputDev TextLine Class

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-30524. PoCs published by rishvic.

AI-analyzed exploit summary This repository provides Docker images for Xpdf 4.04, which is vulnerable to CVE-2022-30524. It includes a PoC PDF file that triggers a segmentation fault, demonstrating the vulnerability.

Description

There 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 coordinates. It can be triggered by (for example) sending a crafted pdf file to the pdftotext binary, which allows a remote attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact.

Exploits (1)

nomisec WORKING POC 1 stars
by rishvic · poc
https://github.com/rishvic/xpdf-docker

This repository provides Docker images for Xpdf 4.04, which is vulnerable to CVE-2022-30524. It includes a PoC PDF file that triggers a segmentation fault, demonstrating the vulnerability.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Xpdf 4.04
No auth needed
Prerequisites: Docker environment · Xpdf 4.04 installed or Docker image built
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_misc
https://forum.xpdfreader.com/viewtopic.php?f=3&t=42261

Scores

CVSS v3 7.8
EPSS 0.0160
EPSS Percentile 72.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Lab Environment

COMMUNITY
Community Lab
docker pull gcc:bullseye

Details

CWE
CWE-787
Status published
Products (1)
xpdfreader/xpdf 4.0.4
Published May 09, 2022
Tracked Since Feb 18, 2026