---
title: "CVE-2022-4883"
canonical_url: "https://pkgseek.com/security/CVE-2022-4883"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-4883

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.

CVE-2022-4883 is rated HIGH (8.8), with 10 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 10
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | libXpm | 3.5.12-8.el8 | 3.5.12-9.el8_7 |
| Oracle Linux | 8 | libXpm-devel | 3.5.12-8.el8 | 3.5.12-9.el8_7 |
| Oracle Linux | 9 | libXpm | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Oracle Linux | 9 | libXpm-devel | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Red Hat Enterprise Linux | 9.8 | libXpm | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Red Hat Enterprise Linux | 9.8 | libXpm-devel | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Ubuntu | focal | libxpm4 | 1:3.5.12-1 | 1:3.5.12-1ubuntu0.20.04.1 |
| Ubuntu | focal | libxpm-dev | 1:3.5.12-1 | 1:3.5.12-1ubuntu0.20.04.1 |
| Ubuntu | jammy | libxpm4 | 1:3.5.12-1build2 | 1:3.5.12-1ubuntu0.22.04.1 |
| Ubuntu | jammy | libxpm-dev | 1:3.5.12-1build2 | 1:3.5.12-1ubuntu0.22.04.1 |
