Skip to main content

Xpdf CVE-2026-4407

| EUVDEUVD-2026-12995 LOW
Improper Input Validation (CWE-20)
2026-03-18 GandC
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
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
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None

Lifecycle Timeline

3
EUVD ID Assigned
Mar 18, 2026 - 22:00 euvd
EUVD-2026-12995
Analysis Generated
Mar 18, 2026 - 22:00 vuln.today
CVE Published
Mar 18, 2026 - 21:44 nvd
LOW 2.1

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.

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.

More in Xpdf

View all
CVE-2022-38222 HIGH POC
7.8 Sep 29

There is a use-after-free issue in JBIG2Stream::close() located in JBIG2Stream.cc in Xpdf 4.04. Rated high severity (CVS

CVE-2022-38928 HIGH POC
7.8 Sep 21

XPDF 4.04 is vulnerable to Null Pointer Dereference in FoFiType1C.cc:2393. Rated high severity (CVSS 7.8), this vulnerab

CVE-2022-38238 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::lookChar() at /xpdf/Stream.cc. Rated

CVE-2022-38237 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::readScan() at /xpdf/Stream.cc. Rated

CVE-2022-38236 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a global-buffer overflow via Lexer::getObj(Object*) at /xpdf/Lexer.cc. Rat

CVE-2022-38231 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::getChar() at /xpdf/Stream.cc. Rated

CVE-2022-38229 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::readHuffSym(DCTHuffTable*) at /xpdf/

CVE-2022-38228 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a heap-buffer overflow via DCTStream::transformDataUnit at /xpdf/Stream.cc

CVE-2022-38227 HIGH POC
7.8 Aug 16

XPDF commit ffaf11c was discovered to contain a stack overflow via __asan_memcpy at asan_interceptors_memintrinsics.cpp.

CVE-2022-33108 HIGH POC
7.8 Jun 28

XPDF v4.04 was discovered to contain a stack overflow vulnerability via the Object::Copy class of object.cc files. Rated

CVE-2022-30524 HIGH POC
7.8 May 09

There is an invalid memory access in the TextLine class in TextOutputDev.cc in Xpdf 4.0.4 because the text extractor mis

CVE-2020-24999 HIGH POC
7.8 Sep 03

There is an invalid memory access in the function fprintf located in Error.cc in Xpdf 4.0.2. Rated high severity (CVSS 7

Share

CVE-2026-4407 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy