OS Command Injection Affecting jhead package, versions <1:3.06.0.1-3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.48% (44th 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-19784366
  • published14 Sept 2026
  • disclosed17 Oct 2022

Introduced: 17 Oct 2022

CVE-2022-41751  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Echo:latest jhead to version 1:3.06.0.1-3 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.

Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.

CVSS Base Scores

version 3.1