cve.bz

CVE-2021-3496 jhead project jhead: Out-of-bounds Write

7.8 highExploit referenceEPSS 1.1%Fix available

High (7.8) in jhead project jhead. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3496 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3496?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3496?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3496 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jhead_project:jhead3.06

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jhead1:3.04-6DEBIAN-CVE-2021-3496
UbuntuPro:14.04:LTSjhead1:2.97-1+deb8u2ubuntu0.1~esm3UBUNTU-CVE-2021-3496 USN-6110-1
UbuntuPro:16.04:LTSjhead1:3.00-4+deb9u1ubuntu0.1~esm3UBUNTU-CVE-2021-3496 USN-6110-1
UbuntuPro:18.04:LTSjhead1:3.00-8~ubuntu0.2+esm1UBUNTU-CVE-2021-3496 USN-6110-1
UbuntuPro:20.04:LTSjhead1:3.04-1ubuntu0.2+esm1UBUNTU-CVE-2021-3496 USN-6110-1
UbuntuPro:22.04:LTSjhead1:3.06.0.1-2ubuntu0.22.04.1+esm1USN-6110-1
SUSEPackage Hub 15 SP2jhead3.00-bp152.4.3.1openSUSE-SU-2021:0620-1
SUSEPackage Hub 15 SP2jhead3.06.0.1-bp152.4.6.1openSUSE-SU-2021:0752-1
openSUSELeap 15.2jhead3.00-lp152.7.3.1openSUSE-SU-2021:0594-1
openSUSELeap 15.2jhead3.06.0.1-lp152.7.6.1openSUSE-SU-2021:0743-1
openSUSETumbleweedjhead3.06.0.1-1.3openSUSE-SU-2024:10880-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON