Out-of-bounds Read Affecting patchelf package, versions <0.14.3-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.1% (67th 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-UBUNTU2204-PATCHELF-3180227
  • published1 Jun 2025
  • disclosed19 Dec 2022

Introduced: 19 Dec 2022

CVE-2022-44940  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 patchelf to version 0.14.3-1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream patchelf package and not the patchelf package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.

CVSS Base Scores

version 3.1