CVE-2022-4883

NameCVE-2022-4883
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3459-1, ELA-875-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxpm (PTS)jessie, jessie (lts)1:3.5.12-0+deb8u3fixed
stretch (lts), stretch1:3.5.12-1+deb9u2fixed
buster (security), buster, buster (lts)1:3.5.12-1+deb10u2fixed
bullseye (security), bullseye1:3.5.12-1.1+deb11u1fixed
bookworm (security), bookworm1:3.5.12-1.1+deb12u1fixed
sid, trixie1:3.5.17-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxpmsourcejessie1:3.5.12-0+deb8u2ELA-875-1
libxpmsourcestretch1:3.5.12-1+deb9u1ELA-875-1
libxpmsourcebuster1:3.5.12-1+deb10u1DLA-3459-1
libxpmsourcebullseye1:3.5.12-1.1~deb11u1
libxpmsource(unstable)1:3.5.12-1.1

Notes

https://www.openwall.com/lists/oss-security/2023/01/17/2
https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/515294bb8023a45ff916696d0a14308ff4f3a376 (libXpm-3.5.15)
https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/8178eb0834d82242e1edbc7d4fb0d1b397569c68 (libXpm-3.5.15)

Search for package or bug name: Reporting problems