Stack Buffer Overflow in jhead 3.06 via shellescape() in jhead.c

Stack Buffer Overflow in jhead 3.06 via shellescape() in jhead.c

CVE-2022-28550 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.