cve.bz

CVE-2022-41751 OS Command Injection

7.8 highExploit referenceEPSS 0.5%

High (7.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-05-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41751 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41751?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41751?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41751 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jhead_project:jhead3.06.0.1
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10jhead1:3.00-8+deb10u1DLA-3219-1
Debian11jhead1:3.04-6+deb11u1DSA-5294-1
Debian12, 13, 14jhead1:3.06.0.1-3DEBIAN-CVE-2022-41751
Ubuntu18.04:LTSjhead1:3.00-8~ubuntu0.2UBUNTU-CVE-2022-41751 USN-6108-1
Ubuntu20.04:LTSjhead1:3.04-1ubuntu0.2UBUNTU-CVE-2022-41751 USN-6108-1
Ubuntu22.04:LTSjhead1:3.06.0.1-2ubuntu0.22.04.1UBUNTU-CVE-2022-41751 USN-6108-1
UbuntuPro:14.04:LTSjhead1:2.97-1+deb8u2ubuntu0.1~esm2UBUNTU-CVE-2022-41751 USN-6108-1
UbuntuPro:16.04:LTSjhead1:3.00-4+deb9u1ubuntu0.1~esm2UBUNTU-CVE-2022-41751 USN-6108-1
SUSEPackage Hub 15 SP3jhead3.00-bp153.3.3.1openSUSE-SU-2022:10178-1
SUSEPackage Hub 15 SP4jhead3.06.0.1-bp154.2.3.1openSUSE-SU-2022:10179-1
SUSEPackage Hub 15 SP4jhead3.06.0.1-bp154.2.9.1openSUSE-SU-2023:0054-1
SUSEPackage Hub 15 SP5jhead3.06.0.1-bp155.5.3.1openSUSE-SU-2023:0371-1
openSUSELeap 15.3jhead3.00-bp153.3.3.1openSUSE-SU-2022:10178-1
openSUSELeap 15.4jhead3.06.0.1-bp154.2.3.1openSUSE-SU-2022:10179-1
openSUSELeap 15.4jhead3.06.0.1-bp154.2.9.1openSUSE-SU-2023:0054-1
openSUSELeap 15.5jhead3.06.0.1-bp155.5.3.1openSUSE-SU-2023:0371-1
openSUSETumbleweedjhead3.06.0.1-2.1openSUSE-SU-2024:12466-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON