Out-of-bounds Write Affecting jhead package, versions <1:3.08-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.05% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-JHEAD-19784365
  • published14 Sept 2026
  • disclosed13 Jun 2023

Introduced: 13 Jun 2023

CVE-2022-28550  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Echo:latest jhead to version 1:3.08-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jhead package and not the jhead package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 &amp;i or &amp;o are given.

CVSS Base Scores

version 3.1