Untrusted Search Path Affecting libxpm package, versions [,3.5.17)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.2% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBXPM-10077567
  • published8 May 2025
  • disclosed17 Jan 2023
  • creditUnknown

Introduced: 17 Jan 2023

CVE-2022-4883  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade libxpm to version 3.5.17 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path 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.

CVSS Base Scores

version 3.1