Severity by source
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Lifecycle Timeline
3DescriptionCVE.org
Out-of-bounds array write in Xpdf 4.06 and earlier, due to incorrect validation of the "N" field in ICCBased color spaces.
AnalysisAI
An out-of-bounds array write vulnerability exists in Xpdf versions 4.06 and earlier, stemming from improper validation of the 'N' field in ICCBased color spaces within PDF documents. This buffer overflow vulnerability affects all versions of Xpdf up to and including 4.06, potentially allowing attackers to achieve arbitrary code execution or denial of service by crafting malicious PDF files with specially crafted color space definitions. No CVSS score or EPSS data is currently available, and active exploitation status is not confirmed in public sources.
Technical ContextAI
Xpdf is a lightweight, open-source PDF reader library widely used for PDF parsing and rendering across multiple platforms. The vulnerability resides in the ICC (International Color Consortium) color space handling code, specifically in how the application validates and processes the 'N' parameter that defines the number of color components in an ICCBased color space. The root cause is classified under CWE-20 (Improper Input Validation), where the application fails to properly validate the 'N' field before using it as an array index or size parameter, leading to a classic buffer overflow condition. This affects all versions of Xpdf covered by CPE cpe:2.3:a:xpdf:xpdf:*:*:*:*:*:*:*:* up to version 4.06.
RemediationAI
Upgrade Xpdf to a patched version released after 4.06, as indicated by the vendor security advisory at https://www.xpdfreader.com/security-bug/CVE-2026-4407.html. Pending patch availability, implement compensating controls by restricting Xpdf usage to trusted PDF sources only, disabling automatic PDF processing in email and web clients, running Xpdf in sandboxed or containerized environments to limit blast radius, and monitoring for suspicious PDF file delivery patterns. Organizations should prioritize patching once the vendor releases a fixed version, as buffer overflows in PDF libraries pose significant risk when processing untrusted documents.
There is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf 4.04. Rated high severity (CVS
XPDF 4.04 is vulnerable to Null Pointer Dereference in FoFiType1C.cc:2393. Rated high severity (CVSS 7.8), this vulnerab
XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::lookChar() at /xpdf/Stream.cc. Rated
XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::readScan() at /xpdf/Stream.cc. Rated
XPDF commit ffaf11c was discovered to contain a global-buffer overflow via Lexer::getObj(Object*) at /xpdf/Lexer.cc. Rat
XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::getChar() at /xpdf/Stream.cc. Rated
XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::readHuffSym(DCTHuffTable*) at /xpdf/
XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::transformDataUnit at /xpdf/Stream.cc
XPDF commit ffaf11c was discovered to contain a stack overflow via __asan_memcpy at asan_interceptors_memintrinsics.cpp.
XPDF v4.04 was discovered to contain a stack overflow vulnerability via the Object::Copy class of object.cc files. Rated
There is an invalid memory access in the TextLine class in TextOutputDev.cc in Xpdf 4.0.4 because the text extractor mis
There is an invalid memory access in the function fprintf located in Error.cc in Xpdf 4.0.2. Rated high severity (CVSS 7
Same weakness CWE-20 – Improper Input Validation
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-12995