{"id":"CVE-2022-38306","aliases":["EUVD-2022-0138","GHSA-52xx-r3g2-p8jm","PYSEC-2022-274","UBUNTU-CVE-2022-38306"],"status":"published","title":"LIEF vulnerable to heap based buffer overflow","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00343,"percentile":0.28034,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2022-09-13T20:16:44Z","modified":"2026-10-28T02:30:57Z","fixes":[{"ecosystem":"PyPI","package":"lief","fixed_in":["0.12.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.12.0","0.12.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"]},{"source":"osv","ecosystem":"PyPI","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.12.0","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1build1","0.9.0-1build2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lief","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1build2","0.9.0-1build3"]}],"products":[{"vendor":"lief-project","product":"lief"}],"references":[{"url":"https://github.com/lief-project/LIEF/issues/763","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38306","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF/commit/53bf680ef494a835e2c4a5de328ca85416a03a5a","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-274.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-52xx-r3g2-p8jm","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38306.json","tags":["advisory"]},{"url":"https://github.com/lief-project/LIEF","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-38306","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-38306","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-38306","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T20:16:44Z","modified":"2024-08-03T10:54:02.705Z","updated_at":"2026-11-02T14:34:37.272373Z"}],"euvd":[{"id":"EUVD-2022-0138","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T20:16:44Z","modified":"2024-08-03T10:54:02Z","updated_at":"2026-11-03T03:25:22.392967Z"}],"ghsa":[{"id":"GHSA-52xx-r3g2-p8jm","title":"LIEF vulnerable to heap based buffer overflow","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component `/core/CorePrPsInfo.tcc`. Commit 53bf680ef494a835e2c4a5de328ca85416a03a5a contains a patch.","status":"published","published":"2022-09-14T00:00:42Z","modified":"2023-01-29T05:02:59Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:36:25.835323Z"}],"nvd":[{"id":"CVE-2022-38306","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T21:15:09.427Z","modified":"2026-06-17T04:56:24.697Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:27.631109Z"}],"osv":[{"id":"GHSA-52xx-r3g2-p8jm","title":"LIEF vulnerable to heap based buffer overflow","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component `/core/CorePrPsInfo.tcc`. Commit 53bf680ef494a835e2c4a5de328ca85416a03a5a contains a patch.","status":"published","published":"2022-09-14T00:00:42Z","modified":"2023-11-08T04:10:11.559655Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:37.864461Z"},{"id":"UBUNTU-CVE-2022-38306","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T21:15:00Z","modified":"2026-04-22T13:27:09.691189Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:55.502114Z"},{"id":"CVE-2022-38306","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T20:16:44Z","modified":"2026-10-28T02:30:57.151631387Z","updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"PYSEC-2022-274","description":"LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.","status":"published","published":"2022-09-13T21:15:00Z","modified":"2026-06-10T17:02:00.432997697Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
