Vulnerability · Published Jun 13, 2023 · Assigned by mitre

CVE-2022-28550

Critical 9.8

In plain English

A critical-severity out-of-bounds write in the jhead package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.0%top 35.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12jheadno fix listedDEBIAN-CVE-2022-28550
Debian:13jhead1:3.08-1DEBIAN-CVE-2022-28550
Debian:14jhead1:3.08-1DEBIAN-CVE-2022-28550
Ubuntu:24.04:LTSjheadno fix listedUBUNTU-CVE-2022-28550
Ubuntu:25.10jheadno fix listedUBUNTU-CVE-2022-28550
Ubuntu:26.04:LTSjheadno fix listedUBUNTU-CVE-2022-28550
Ubuntu:26.10jheadno fix listedUBUNTU-CVE-2022-28550

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787, CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References