SecurityContext

CVE-2021-3496: jhead - Heap Buffer Overflow

  • Cve: CVE-2021-3496
  • Name: jhead - Heap Buffer Overflow
  • Description: A heap-based buffer overflow was found in jhead in version 3.06 in Get16u() in exif.c when processing a crafted file.
  • Impact: Attackers can execute arbitrary code remotely by crafting a malicious file, potentially leading to full system compromise.
  • Remediation: Update to the latest version of jhead or apply patches addressing this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01065
  • Epss percentile: 0.65541
  • Assignee: [email protected]
  • Published at: 2021-04-22T19:15:07Z
  • Age in days: 2042
  • Modified at: 2026-06-17T04:05:12Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3496
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/Matthias-Wandel/jhead/issues/33nvd2021-04-22

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Matthias-Wandel/jhead/issues/33Exploit, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1949245Issue Tracking, Third Party Advisory
https://security.gentoo.org/glsa/202210-17Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jhead_project:jhead= 3.06nonvd/v1/products/jhead_project/jhead

Projects

RepositoryLink kindsIndexedUrl
Matthias-Wandel/jheadissuesyes/v1/repositories/Matthias-Wandel/jhead

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-22
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts