Skip to main content

jhead CVE-2026-90682

| EUVDEUVD-2026-77198 LOW
Heap-based Buffer Overflow (CWE-122)
2026-09-14 VulDB GHSA-9693-5mmv-mwq9
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stage crafted WebP with malformed GPS EXIF tags
  2. Delivery
    Deliver image to target system or pipeline
  3. Exploit
    Trigger jhead processing of crafted file
  4. Execution
    Overflow heap buffer in ProcessGpsInfo()
  5. Persist
    Corrupt adjacent heap memory
  6. Impact
    Crash process or achieve limited code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 a system where jhead is installed, with at minimum low-privilege execution rights (PR:L per CVSS 4.0). The attacker must be able to supply or cause the processing of a specially crafted WebP image containing malformed GPS EXIF tag values (TAG_GPS_LAT or TAG_GPS_LONG). The vulnerability is triggered specifically in jhead's WebP EXIF handler code path (gpsinfo.c:ProcessGpsInfo), meaning the image must contain GPS EXIF metadata of the right type. Remote exploitation is not feasible unless jhead is integrated into a web-accessible or remotely-triggered image-processing pipeline. No elevated privileges, special configuration, or non-default settings are required beyond the ability to invoke jhead with an attacker-controlled input file.

Impact

The realistic risk here is moderate-to-low despite the presence of public exploit code. The CVSS 4.0 score of 4.8 is well-calibrated: the local attack vector (AV:L) is the primary limiting factor, as exploitation requires an attacker to either be on the same machine or social-engineer a user into processing a crafted image file with jhead. The exploit is publicly available (E:P in the CVSS 4.0 vector), which elevates urgency for environments where jhead is used in automated image-processing pipelines that ingest untrusted content - a scenario where even a modest batch-processing deployment could be exposed. There is no CISA KEV listing and no evidence of active in-the-wild exploitation; this is consistent with jhead's narrow deployment footprint. The maintainer has not responded to the GitHub issue, so no patch timeline can be inferred. Impact is bounded to low C/I/A on the vulnerable system with no scope change, meaning exploitation delivers heap corruption or a local crash rather than remote code execution or privilege escalation beyond the tool's own process. The primary concern is any automated or script-driven use of jhead against untrusted WebP/JPEG files.

Exploit ScenarioDerived

An attacker places a crafted WebP image containing malformed TAG_GPS_LAT or TAG_GPS_LONG EXIF values in a location accessible to a victim user or automated pipeline. When jhead processes the file - either directly by a user or via a script - the ProcessGpsInfo() function writes beyond the allocated heap buffer, potentially corrupting adjacent heap metadata. The publicly available POC (https://github.com/user-attachments/files/30397094/poc.zip) demonstrates this crash; in a pipeline context, an attacker who can influence the input image set can trigger this without further interaction.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 14, 2026

Heap-based buffer overflow in jhead up to 3.3 allows a local attacker with low privileges to corrupt process memory by supplying a crafted WebP image with malformed GPS EXIF tags (TAG_GPS_LAT or TAG_GPS_LONG) to the ProcessGpsInfo() function in gpsinfo.c. A proof-of-concept has been publicly released via GitHub, and the project maintainer has not responded to the responsible disclosure report. No vendor-released patch is available at time of analysis.

RemediationAI

No vendor-released patch is available at time of analysis - the project maintainer has not responded to the disclosure report (GitHub issue #99). As a primary compensating control, avoid passing untrusted or externally sourced WebP/JPEG files to jhead; if automated pipelines use jhead, gate input files through an allowlist of trusted sources. Consider sandboxing jhead invocations using seccomp, firejail, or a container with no write access to sensitive paths, which limits blast radius from heap corruption to the process itself. If GPS EXIF handling is not required, evaluate whether the functionality can be bypassed by stripping EXIF data (using exiftool or similar) before jhead processing - note this alters metadata, which may affect downstream workflows. Monitor the upstream GitHub repository (https://github.com/Matthias-Wandel/jhead/) for a patched release and apply it as soon as one is available.

Affected VersionsENISA

jhead 3.3
jhead 3.1
jhead 3.2
jhead 3.0

Affected Packages

euvd jhead no fix

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 command-line utility for inspecting and manipulating EXIF metadata embedded in JPEG (and WebP) images. The vulnerable code path is in gpsinfo.c, specifically the ProcessGpsInfo() function, which parses GPS-related EXIF tags. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: the function does not perform adequate bounds checking on user-supplied GPS latitude/longitude tag values (TAG_GPS_LAT, TAG_GPS_LONG), allowing an attacker to craft EXIF payloads that write beyond the allocated heap buffer. WebP images can embed EXIF metadata, and jhead's handler for this format is the affected code path. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L) confirms the attack is local with low complexity and requires only low-privilege access.

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

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Local-only attack (AV:L), low complexity with crafted file, low privileges to run jhead; limited C/I/A impact confined to process heap.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Sep 14, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
Sep 14, 2026 - 05:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Sep 14, 2026 - 04:30 cve.org
MEDIUM 4.8

DescriptionCVE.org

A security vulnerability has been detected in Matthias-Wandel jhead up to 3.3. This impacts the function ProcessGpsInfo of the file gpsinfo.c of the component WebP EXIF Handler. Such manipulation of the argument TAG_GPS_LAT/TAG_GPS_LONG leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche CLI EXIF utility, not enterprise or server infrastructure
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

More in Jhead

View all
CVE-2022-41751 HIGH POC
7.8 Oct 17

Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the r

CVE-2021-3496 HIGH POC
7.8 Apr 22

A heap-based buffer overflow was found in jhead in version 3.06 in Get16u() in exif.c when processing a crafted file. Ra

CVE-2018-17088 HIGH POC
7.8 Sep 16

The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service

CVE-2018-16554 HIGH POC
7.8 Sep 16

The ProcessGpsInfo function of the gpsinfo.c file of jhead 3.00 may allow a remote attacker to cause a denial-of-service

CVE-2020-6625 HIGH POC
7.1 Jan 09

jhead through 3.04 has a heap-based buffer over-read in Get32s when called from ProcessGpsInfo in gpsinfo.c. Rated high

CVE-2020-6624 HIGH POC
7.1 Jan 09

jhead through 3.04 has a heap-based buffer over-read in process_DQT in jpgqguess.c. Rated high severity (CVSS 7.1), this

CVE-2019-19035 MEDIUM POC
5.5 Nov 17

jhead 3.03 is affected by: heap-based buffer over-read. Rated medium severity (CVSS 5.5), this vulnerability is no authe

CVE-2019-1010302 MEDIUM POC
5.5 Jul 15

jhead 3.03 is affected by: Incorrect Access Control. Rated medium severity (CVSS 5.5), this vulnerability is no authenti

CVE-2019-1010301 MEDIUM POC
5.5 Jul 15

jhead 3.03 is affected by: Buffer Overflow. Rated medium severity (CVSS 5.5), this vulnerability is no authentication re

CVE-2026-133496 LOW POC
2.1 Nov 20

Double free in jhead 3.3 and earlier, in the PNG Section Handler functions RemovePngSection and RemovePngSectionByType i

CVE-2026-90681 LOW POC
1.9 Sep 14

Out-of-bounds read in jhead's EXIF parser crashes the application when processing a crafted JPEG file. The Get16u() func

CVE-2018-6612 MEDIUM
5.5 Feb 04

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

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