{"id":"CVE-2022-28550","details":"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.","modified":"2026-08-12T03:51:25.714842378Z","published":"2023-06-13T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28550.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28550.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28550"},{"type":"REPORT","url":"https://github.com/Matthias-Wandel/jhead/issues/51"},{"type":"FIX","url":"https://github.com/Matthias-Wandel/jhead/commit/64894dbc7d8e1e232e85f1cab25c64290b2fc167"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matthias-wandel/jhead","events":[{"introduced":"78057ab115e7fe68ba18869f97240cba58b9e996"},{"fixed":"64894dbc7d8e1e232e85f1cab25c64290b2fc167"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:jhead_project:jhead:3.06:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.06"},{"last_affected":"3.06"}]}}],"versions":["3.06","3.06.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28550.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}