{"id":"CVE-2022-44940","aliases":["DEBIAN-CVE-2022-44940","EUVD-2022-0404","GHSA-5pcj-3m26-w633","MGASA-2023-0179","OESA-2023-1001","PYSEC-2022-43144","PYSEC-2022-43151","UBUNTU-CVE-2022-44940","USN-6036-1"],"status":"published","title":"Patchelf out-of-bounds read","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01092,"percentile":0.65705,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2022-12-19T00:00:00Z","modified":"2026-10-28T02:30:39Z","fixes":[{"ecosystem":"PyPI","package":"patchelf","fixed_in":["0.16.1.0"],"sources":["ghsa","osv"]},{"ecosystem":"Mageia:8","package":"patchelf","fixed_in":["0.16.1-1.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"patchelf","fixed_in":["0.16.0-1.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"patchelf","fixed_in":["0.16.0-1.oe2203sp1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"patchelf","fixed_in":["0.14.3-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.1.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-1","0.18.0-1","0.18.0-1.1","0.18.0-1.2","0.18.0-1.3","0.18.0-1.4"]},{"source":"osv","ecosystem":"Debian:13","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0-1.4"]},{"source":"osv","ecosystem":"Debian:14","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.0-1.4"]},{"source":"osv","ecosystem":"PyPI","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.1.0"}]}],"versions":["0.11.0.0","0.12.0.0","0.13.0.0","0.13.1.0","0.14.0.0","0.14.1.0","0.14.2.0","0.14.3.0","0.14.5.0","0.15.0.0","0.15.2.0","0.15.5.0"]},{"source":"osv","ecosystem":"Mageia:8","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.1-1.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-1.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-1.oe2203sp1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.1.0"}]}],"versions":["0.11.0.0","0.12.0.0","0.13.0.0","0.13.1.0","0.14.0.0","0.14.1.0","0.14.2.0","0.14.3.0","0.14.5.0","0.15.0.0"]},{"source":"osv","ecosystem":"PyPI","package":"pypatchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8","0.9"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8-2","0.8-3","0.8-4","0.9-1~ubuntu16.04.1","0.9-1~ubuntu16.04.3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10-2","0.10-2build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.3-1ubuntu0.1~esm1"}]}],"versions":["0.12-1","0.14.3-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"patchelf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14.3-1ubuntu0.1~esm1"}]}],"versions":["0.12-1","0.14.3-1"]}],"products":[{"vendor":"patchelf_project","product":"patchelf"}],"references":[{"url":"https://github.com/NixOS/patchelf/pull/419","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44940","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/patchelf/PYSEC-2022-43144.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pypatchelf/PYSEC-2022-43151.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5pcj-3m26-w633"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/44xxx/CVE-2022-44940.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-44940","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0179.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31880","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6036-1","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1001","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-44940","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-44940","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-44940","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T00:00:00Z","modified":"2025-04-17T14:40:42.761Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:34:30.176321Z"}],"euvd":[{"id":"EUVD-2022-0404","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T00:00:00Z","modified":"2025-04-17T14:40:42Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:21.593744Z"}],"ghsa":[{"id":"GHSA-5pcj-3m26-w633","title":"Patchelf out-of-bounds read","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-20T00:30:29Z","modified":"2024-11-26T18:48:34Z","cvss":[{"version":"4.0","score":8.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:38:23.575854Z"}],"nvd":[{"id":"CVE-2022-44940","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T22:15:11.077Z","modified":"2026-06-17T05:09:03.77Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:07:34.031641Z"}],"osv":[{"id":"CVE-2022-44940","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T00:00:00Z","modified":"2026-10-28T02:30:39.465787068Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"DEBIAN-CVE-2022-44940","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T22:15:11.077Z","modified":"2026-11-03T08:01:39.780758843Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"GHSA-5pcj-3m26-w633","title":"Patchelf out-of-bounds read","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-20T00:30:29Z","modified":"2026-09-10T03:49:56.2323437Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"},{"version":"4.0","score":8.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"OESA-2023-1001","title":"patchelf security update","description":"PatchELF is a simple utility for modifying an existing ELF executable or library.  It can change the dynamic loader (\u0026quot;ELF interpreter\u0026quot;) of an executable and change the RPATH of an executable or library.\r\n\r\nSecurity Fix(es):\r\n\r\nPatchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.(CVE-2022-44940)","status":"published","published":"2023-01-03T11:05:29Z","modified":"2026-08-18T01:17:28.145758346Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:39.934788Z"},{"id":"PYSEC-2022-43144","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T22:15:00Z","modified":"2024-11-25T22:42:12.915518Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"PYSEC-2022-43151","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T22:15:00Z","modified":"2024-11-25T22:42:12.915518Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"UBUNTU-CVE-2022-44940","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the function modifyRPath at src/patchelf.cc.","status":"published","published":"2022-12-19T22:15:00Z","modified":"2026-02-04T03:26:38.136333Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"MGASA-2023-0179","title":"Updated patchelf packages fix security vulnerability","description":"Patchelf v0.9 was discovered to contain an out-of-bounds read via the\nfunction modifyRPath at src/patchelf.cc. (CVE-2022-44940)\n","status":"published","published":"2023-05-21T08:42:44Z","modified":"2026-04-16T04:41:46.801115069Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"USN-6036-1","title":"patchelf vulnerability","description":"It was discovered that PatchELF was not properly performing bounds\nchecks, which could lead to an out-of-bounds read via a specially\ncrafted file. An attacker could possibly use this issue to cause a\ndenial of service or to expose sensitive information. (CVE-2022-44940)\n","status":"published","published":"2023-04-20T21:15:36Z","modified":"2026-04-27T16:38:44.878788Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
