Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-28550 EUVD-2022-32992GHSA-phqx-gjxc-wrp9

Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer…

Published Jun 13, 2023 · Updated Jan 3, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jhead 1:3.08-1 —
Debian 13 jhead 1:3.08-1 —
Debian 12 jhead No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jhead No fix yet —
Ubuntu 26.04 LTS jhead No fix yet —
Ubuntu 25.10 jhead No fix yet —
Ubuntu 24.04 LTS jhead No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS jhead No fix yet —
Ubuntu Pro 20.04 LTS jhead No fix yet —
Ubuntu Pro 18.04 LTS jhead No fix yet —
Ubuntu Pro 16.04 LTS jhead No fix yet —
Ubuntu Pro 14.04 LTS jhead No fix yet —

References