# CVE-2022-38497: LIEF contains a segmentation violation

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-13T20:16:48.000Z
- Modified: 2026-06-17T04:56:44.780Z
- Also known as: GHSA-2p5h-hpj4-fxgg, PYSEC-2022-277
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

LIEF commit 365a16a was discovered to contain a segmentation violation via the component CoreFile.tcc:69.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lief (PyPI): up to 0.12.1; before 0.12.1
- lief-project lief: up to 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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lief-project/LIEF/issues/766> (exploit, issue-tracking, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38497> (advisory)
- <https://github.com/lief-project/LIEF/commit/ca938740264f1fcb18f91cba8e4039c518ecb75b> (web)
- <https://github.com/lief-project/LIEF> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-277.yaml> (web)
- <https://github.com/advisories/GHSA-2p5h-hpj4-fxgg> (advisory)

## Sources

- CVE List: [CVE-2022-38497](https://www.cve.org/CVERecord?id=CVE-2022-38497), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2p5h-hpj4-fxgg](https://github.com/advisories/GHSA-2p5h-hpj4-fxgg), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-38497](https://nvd.nist.gov/vuln/detail/CVE-2022-38497), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-277](https://osv.dev/vulnerability/PYSEC-2022-277), CC-BY-4.0, modified 2026-06-10

---

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