CVE-2022-41751
Publication date 17 October 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| jhead | ||
| 22.04 LTS jammy | 
                                Fixed 1:3.06.0.1-2ubuntu0.22.04.1 
                                
                               | |
| 20.04 LTS focal | 
                                Fixed 1:3.04-1ubuntu0.2 
                                
                               | |
| 18.04 LTS bionic | 
                                Fixed 1:3.00-8~ubuntu0.2 
                                
                               | |
| 16.04 LTS xenial | 
                                Fixed 1:3.00-4+deb9u1ubuntu0.1~esm2 
                                
                                   | |
| 14.04 LTS trusty | 
                                Fixed 1:2.97-1+deb8u2ubuntu0.1~esm2 
                                
                                   | 
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-6108-1
- Jhead vulnerabilities
- 25 May 2023
Other references
- https://github.com/Matthias-Wandel/jhead/pull/57
- https://github.com/Matthias-Wandel/jhead/commit/6985da52c9ad4f5f6c247269cb5508fae34a971c
- https://github.com/Matthias-Wandel/jhead/commit/3fe905cf674f8dbac8a89e58cee1b4850abf9530
- https://github.com/Matthias-Wandel/jhead/commit/ec67262b8e5a4b05d8ad6898a09f1dc3fc032062
- https://www.cve.org/CVERecord?id=CVE-2022-41751