CVE-2022-28550

CRITICAL
Published Jun 13, 20233y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Jun 13, 2023 3y ago
Last Modified Jun 17, 2026 2w ago

Description

Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a result, there will be a stack buffer overflow problem when multiple `&i` or `&o` are given.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-120
CWE-787 Out-of-bounds Write Memory Safety

Affected Products 1

VendorProductVersionRange
jhead_projectjhead3.06any

References 2

  • github.com https://github.com/Matthias-Wandel/jhead/commit/64894dbc7d8e1e232e85f1cab25c64290b2fc167
    Patch
  • github.com https://github.com/Matthias-Wandel/jhead/issues/51
    ExploitIssue TrackingPatchThird Party Advisory

Remediation

  • github.com https://github.com/Matthias-Wandel/jhead/commit/64894dbc7d8e1e232e85f1cab25c64290b2fc167
    Patch
  • github.com https://github.com/Matthias-Wandel/jhead/issues/51
    ExploitIssue TrackingPatchThird Party Advisory