Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessWrite crafted JPEG to accessible path
-
ExploitExecute jhead against crafted file
-
ExecutionGet16u() reads past EXIF buffer end
-
ImpactApplication crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local access to the system and the ability to cause jhead to process a crafted JPEG file - either by supplying it directly as a command-line argument or by placing it in a directory processed by an automated jhead pipeline. The attack vector is AV:L/PR:L: the attacker needs at minimum a low-privileged local account or the ability to write a file into a location jhead will consume. No network path exists without an intermediary service that invokes jhead on uploaded content. The impact is limited to crashing the jhead process; there is no authenticated vs. unauthenticated distinction since jhead is a local tool. The vulnerability does not apply to JPEG files with well-formed, bounds-respecting EXIF data. |
| Impact | Real-world risk is low. The CVSS 4.0 score of 4.8 (Medium) is aligned with the actual impact: AV:L requires local access, VA:L indicates a low availability impact (crash), and VC:N/VI:N confirm no confidentiality or integrity consequences. The 'Buffer Overflow' and 'Information Disclosure' tags in the input metadata overstate the impact - CWE-125 is an OOB read, not a write or overflow, and the CVSS vector explicitly marks confidentiality impact as None. No CISA KEV listing exists, and EPSS data is not provided, but the niche footprint of the tool combined with a local-only attack vector and DoS-only impact makes this a low operational priority for most organizations. The existence of a public PoC is the primary escalation signal, though even with the PoC the worst realistic outcome is crashing the jhead process. The absence of vendor response to GitHub issue #98 is notable - defenders relying on jhead in automated pipelines should monitor for an upstream fix independently. |
| Exploit ScenarioDerived | An attacker supplies a crafted JPEG file with a malformed EXIF segment that causes Get16u() to read two bytes past the end of the EXIF buffer. When a local user or an automated script runs jhead against this file, the out-of-bounds read triggers a crash (SIGSEGV or similar), resulting in a denial of service for that jhead invocation. A public PoC archive (poc.zip) is available; exploitation requires only the ability to have the target process the crafted file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 14, 2026
Out-of-bounds read in jhead's EXIF parser crashes the application when processing a crafted JPEG file. The Get16u() function in exif.c - which reads 16-bit unsigned integers from EXIF data - fails to validate buffer bounds, allowing a malicious JPEG to trigger a read past the end of an allocated buffer. All versions up to and including 3.3 are affected; the vendor has not responded to the coordinated disclosure, and no patch is available. A public proof-of-concept exploit exists, though exploitation is constrained to local access and causes only a low-severity availability impact (crash/DoS), not code execution or data exfiltration.
RemediationAI
No vendor-released patch has been identified at time of analysis; the upstream maintainer had not responded to GitHub issue #98 as of the disclosure. The primary mitigation is to avoid processing untrusted or externally-supplied JPEG files with jhead. If jhead is used in an automated pipeline that ingests user-submitted images, isolate jhead execution in a sandboxed or containerized environment (e.g., seccomp-restricted container, bubblewrap) to limit the impact of a crash. Alternatively, pre-screen input JPEG files with a well-maintained EXIF library (e.g., libexif, ExifTool) that is actively patched before passing them to jhead. Monitor https://github.com/Matthias-Wandel/jhead/ for a patched release and apply it when available.
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
jhead (CPE: cpe:2.3:a:matthias-wandel:jhead:*:*:*:*:*:*:*:*) is a lightweight C command-line utility for viewing and manipulating JPEG EXIF metadata. The affected function Get16u() in exif.c reads a 16-bit unsigned integer from a raw EXIF byte stream. The root cause is CWE-125 (Out-of-bounds Read): the function does not verify that the current read offset plus two bytes remains within the bounds of the allocated EXIF data buffer before dereferencing, so a crafted EXIF segment can direct the read past valid memory. This is a classic bounds-checking omission common in manual C buffer handling without length guards.
Know when Jhead 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:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Local-only vector, low privileges to run jhead, no confidentiality or integrity impact, only a process crash.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in Matthias-Wandel jhead up to 3.3. This affects the function Get16u of the file exif.c of the component EXIF Parsing. This manipulation causes out-of-bounds read. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
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
Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the r
A heap-based buffer overflow was found in jhead in version 3.06 in Get16u() in exif.c when processing a crafted file. Ra
The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service
The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service
jhead through 3.04 has a heap-based buffer over-read in Get32s when called from ProcessGpsInfo in gpsinfo.c. Rated high
jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c. Rated high severity (CVSS 7.1), this
jhead 3.03 is affected by: heap-based buffer over-read. Rated medium severity (CVSS 5.5), this vulnerability is no authe
jhead 3.03 is affected by: Incorrect Access Control. Rated medium severity (CVSS 5.5), this vulnerability is no authenti
jhead 3.03 is affected by: Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no authentication re
Double free in jhead 3.3 and earlier, in the PNG Section Handler functions RemovePngSection and RemovePngSectionByType i
Heap-based buffer overflow in jhead up to 3.3 allows a local attacker with low privileges to corrupt process memory by s
An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-r
EUVD-2026-77197
GHSA-wq73-q6g3-jfvc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB