Every CVE Search/ Get API key

CVE-2022-44940

Patchelf out-of-bounds read

9.1 CriticalFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

1.09%Up 0.2 points since Dec 20, 2022
90%50%10%1%

What each source reports

NVD Score used 9.1

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

Record
CVE-2022-44940
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
CVE List 9.1

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

Record
CVE-2022-44940
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2022-0404 9.1

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

Record
EUVD-2022-0404
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-5pcj-3m26-w633 8.8

Patchelf out-of-bounds read

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

Record
GHSA-5pcj-3m26-w633
CVSS 4.0
8.8 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 9.1

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

Record
CVE-2022-44940
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2022-44940 9.1

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

Record
DEBIAN-CVE-2022-44940
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-03
Show 7 moreShow less
OSVGHSA-5pcj-3m26-w633 8.8

Patchelf out-of-bounds read

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

Record
GHSA-5pcj-3m26-w633
CVSS 4.0
8.8 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVOESA-2023-1001 9.1

patchelf security update

PatchELF is a simple utility for modifying an existing ELF executable or library. It can change the dynamic loader ("ELF interpreter") of an executable and change the RPATH of an executable or library.

Security Fix(es):

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

Record
OESA-2023-1001
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2022-43144 9.1

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

Record
PYSEC-2022-43144
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2022-43151 9.1

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

Record
PYSEC-2022-43151
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-44940 9.1

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

Record
UBUNTU-CVE-2022-44940
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVMGASA-2023-0179 No score

Updated patchelf packages fix security vulnerability

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

Record
MGASA-2023-0179
Updated
2026-11-02
OSVUSN-6036-1 No score

patchelf vulnerability

It was discovered that PatchELF was not properly performing bounds checks, which could lead to an out-of-bounds read via a specially crafted file. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2022-44940)

Record
USN-6036-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
patchelf
PyPI
before 0.16.1.0
0.16.1.0
patchelf
Debian:12
All versions, plus listed versions
0.14.3-10.18.0-10.18.0-1.10.18.0-1.20.18.0-1.30.18.0-1.4
None known
patchelf
Debian:13
All versions, plus listed versions
0.18.0-1.4
None known
patchelf
Debian:14
All versions, plus listed versions
0.18.0-1.4
None known
patchelf
PyPI
before 0.16.1.0, plus listed versions
0.11.0.00.12.0.00.13.0.00.13.1.00.14.0.0
Show 7 moreShow less
0.14.1.00.14.2.00.14.3.00.14.5.00.15.0.00.15.2.00.15.5.0
0.16.1.0
patchelf
Mageia:8
before 0.16.1-1.mga8
0.16.1-1.mga8
patchelf
openEuler:22.03-LTS
before 0.16.0-1.oe2203sp1
0.16.0-1.oe2203sp1
patchelf
openEuler:22.03-LTS-SP1
before 0.16.0-1.oe2203sp1
0.16.0-1.oe2203sp1
patchelf
PyPI
before 0.16.1.0, plus listed versions
0.11.0.00.12.0.00.13.0.00.13.1.00.14.0.0
Show 5 moreShow less
0.14.1.00.14.2.00.14.3.00.14.5.00.15.0.0
0.16.1.0
pypatchelf
PyPI
All versions, plus listed versions
0.80.9
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
patchelf
Ubuntu:16.04:LTS
All versions, plus listed versions
0.8-20.8-30.8-40.9-1~ubuntu16.04.10.9-1~ubuntu16.04.3
None known
patchelf
Ubuntu:18.04:LTS
All versions, plus listed versions
0.9-1
None known
patchelf
Ubuntu:20.04:LTS
All versions, plus listed versions
0.10-20.10-2build1
None known
patchelf
Ubuntu:Pro:22.04:LTS
before 0.14.3-1ubuntu0.1~esm1, plus listed versions
0.12-10.14.3-1
0.14.3-1ubuntu0.1~esm1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-44940 is a critical vulnerability (CVSS 9.1) in Patchelf Project Patchelf, published December 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.09%, the 65th percentile. Fixed in patchelf 0.16.1.0.

References

Show 7 moreShow less
MoveEnter Open