CVE-2022-38306 json
LIEF vulnerable to heap based buffer overflow
published 2022-09-13 4 y ago modified 2026-06-17 4 mo ago also GHSA-52xx-r3g2-p8jm , PYSEC-2022-274 , EUVD-2022-0138
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.
Patch / fix
- pypi lief 0.12.1
- lief-project lief 0.12.1
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/lief-project/LIEF/issues/763 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lief | <=0.12.1 <0.12.1 |
0.12.1 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/lief-project/LIEF/issues/763
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/lief-project/LIEF/commit/53bf680ef494a835e2c4a5de328ca85416a03a5a
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-38306
advisory
-
github.com
/lief-project/LIEF
package
-
github.com
/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-274.yaml
web
-
github.com
/advisories/GHSA-52xx-r3g2-p8jm
advisory
Sources
- CVE List CVE-2022-38306
- GitHub Advisory GHSA-52xx-r3g2-p8jm
- NVD CVE-2022-38306
- OSV PYSEC-2022-274
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.