Improper Input Validation Affecting jhead package, versions <2.85-1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.3% (22nd 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-19784347
  • published14 Sept 2026
  • disclosed21 Oct 2008

Introduced: 21 Oct 2008

CVE-2008-4640  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

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

The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to delete arbitrary files via vectors involving a modified input filename in which (1) a final "z" character is replaced by a "t" character or (2) a final "t" character is replaced by a "z" character.

CVSS Base Scores

version 3.1