CVEfocus › CVE database › CVE-2023-52138

CVE-2023-52138Path traversal via crafted cpio archives in Engrampa archivers

CVSS 8.2 HighEPSS 2.0% (higher than 82% of CVEs)Published 2024-02-05Updated 2025-06-17Assigner: GitHub_M

Engrampa is an archive manager for the MATE environment. Engrampa is found to be vulnerable to a Path Traversal vulnerability that can be leveraged to achieve full Remote Command Execution (RCE) on the target. While handling CPIO archives, the Engrampa Archive manager follows symlink, cpio by default will follow stored symlinks while extracting and the Archiver will not check the symlink location, which leads to arbitrary file writes to unintended locations. When the victim extracts the archive, the attacker can craft a malicious cpio or ISO archive to achieve RCE on the target system. This vulnerability was fixed in commit 63d5dfa.

CWE-25

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04engrampaNot affected
vulnerable_code_not_present
Ubuntu 25.10engrampaNot affected
vulnerable_code_not_present
Ubuntu 24.04engrampaNot affected
vulnerable_code_not_present
Ubuntu 22.04engrampaFix pending1.26.0-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52138
Ubuntu 20.04engrampaFix pending1.24.0-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52138
Ubuntu 18.04engrampaFix pending1.20.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52138
Ubuntu 16.04engrampaFix pending1.12.0-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52138
Debian 14engrampaFixed1.26.2-1DEBIAN-CVE-2023-52138
Debian 13engrampaFixed1.26.2-1DEBIAN-CVE-2023-52138
Debian 12engrampaFixed1.26.0-1+deb12u2DEBIAN-CVE-2023-52138

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.