Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A03:2021 - Injection
ASVS 5.0
V5 - Validation, Sanitization and Encoding Input validation, output encoding, parameterized queries
|
| Impact | While formal CVSS and EPSS metrics are not publicly available for this CVE, the underlying technical characteristics indicate moderate-to-high real-world risk. The vulnerability is a buffer overflow in input validation (CWE-20), which typically carries high severity due to potential for code execution. The attack vector appears to be network/local (via malicious PDF delivery), likely requiring low complexity to trigger through a crafted PDF file. The fact that no CVSS vector data is provided suggests this may be a recently disclosed or embargoed vulnerability. Without KEV confirmation or public POC availability, exploitation likelihood cannot be definitively assessed, but buffer overflows in PDF processing libraries historically attract security researcher attention and threat actor interest. Organizations using Xpdf should prioritize patching once available, particularly if processing untrusted PDF content. |
| Exploit ScenarioDerived | An attacker crafts a malicious PDF document with an ICCBased color space definition containing an invalid or oversized 'N' field value that exceeds expected bounds. When Xpdf processes this PDF—either through automated document processing, user preview functionality, or embedded PDF rendering in an application—the out-of-bounds array write is triggered, potentially corrupting adjacent memory or enabling code execution. This could occur silently in background PDF processing or when a user simply opens a weaponized PDF attachment received via email or downloaded from a compromised web server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Xpdf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Out-of-bounds array write in Xpdf 4.06 and earlier, due to incorrect validation of the "N" field in ICCBased color spaces.
Executive ViewAI
CVE-2026-4407 is a low-severity vulnerability involving input validation (CVSS 2.1). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.
Apply vendor patch during routine maintenance. Standard input validation mitigations apply if patching is delayed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
EUVD-2026-12995
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB