DescriptionMatthias-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jhead (PTS)buster1:3.00-8vulnerable
buster (security)1:3.00-8+deb10u1vulnerable
bullseye (security), bullseye1:3.04-6+deb11u1vulnerable
sid, trixie1:3.08-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[bookworm] - jhead <no-dsa> (Minor issue)
[bullseye] - jhead <no-dsa> (Minor issue)
[buster] - jhead <no-dsa> (Minor issue) (3.08)

Search for package or bug name: Reporting problems