---
title: "CVE-2022-4883\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-4883?format=md
keywords: index, follow
---

# CVE-2022-4883

Publication date 17 January 2023

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-4883?format=md#impact-score)

Toggle side navigation

## Description

A flaw was found in libXpm. When processing files with .Z or .gz
extensions, the library calls external programs to compress and uncompress
files, relying on the PATH environment variable to find these programs,
which could allow a malicious user to execute other programs by
manipulating the PATH environment variable.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-4883?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| motif | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Needs evaluation |
| libxpm | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Fixed 1:3.5.12-1ubuntu1 |
| 22.10 kinetic | Fixed 1:3.5.12-1ubuntu0.22.10.1 |
| 22.04 LTS jammy | Fixed 1:3.5.12-1ubuntu0.22.04.1 |
| 20.04 LTS focal | Fixed 1:3.5.12-1ubuntu0.20.04.1 |
| 18.04 LTS bionic | Fixed 1:3.5.12-1ubuntu0.18.04.2 |
| 16.04 LTS xenial | Fixed 1:3.5.11-1ubuntu0.16.04.1+esm1  Ubuntu Pro |
| 14.04 LTS trusty | Vulnerable |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### 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](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [alexmurray](https://launchpad.net/~alexmurray)

motif contains a vendored copy of libxpm under lib/Xm/ with files
prefixed by Xpm eg. the file src/parse.c in libxpm is
lib/Xm/Xpmparse.c

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4883)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-4883)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-4883)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-4883)

### Related Ubuntu Security Notices (USN)

+ [USN-5807-1](https://usn.ubuntu.com/USN-5807-1)
+ libXpm vulnerabilities
+ 17 January 2023

+ [USN-5807-2](https://usn.ubuntu.com/USN-5807-2)
+ libXpm vulnerabilities
+ 21 February 2023

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2022-4883>
