# CVE-2022-38306: LIEF vulnerable to heap based buffer overflow

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-13T20:16:44.000Z
- Modified: 2026-06-17T04:56:24.697Z
- Also known as: GHSA-52xx-r3g2-p8jm, PYSEC-2022-274
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component /core/CorePrPsInfo.tcc.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lief (PyPI): up to 0.12.1; before 0.12.1
- lief-project lief: before 0.12.1

## Every score

- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/lief-project/LIEF/issues/763> (exploit, issue-tracking, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38306> (advisory)
- <https://github.com/lief-project/LIEF/commit/53bf680ef494a835e2c4a5de328ca85416a03a5a> (web)
- <https://github.com/lief-project/LIEF> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-274.yaml> (web)
- <https://github.com/advisories/GHSA-52xx-r3g2-p8jm> (advisory)

## Sources

- CVE List: [CVE-2022-38306](https://www.cve.org/CVERecord?id=CVE-2022-38306), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-52xx-r3g2-p8jm](https://github.com/advisories/GHSA-52xx-r3g2-p8jm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-38306](https://nvd.nist.gov/vuln/detail/CVE-2022-38306), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-274](https://osv.dev/vulnerability/PYSEC-2022-274), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-38306 · Whole record: https://cve.day/CVE-2022-38306.json · Rebuilt by cve.day 2026-11-25T22:58:14.913Z
