CVE-2022-38307
MEDIUM 5.5CVSS 3.1LIEF contains segmentation violation
LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp.
- Published
- 13 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- GHSA-x2xx-jw5m-5j86PYSEC-2022-275
- Sources
- NVDJSONOSV GHSA-x2xx-jw5m-5j86JSONOSV PYSEC-2022-275JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lief-project | liefcpe:2.3:a:lief-project:lief:*:*:*:*:*:*:*:* |
< 0.12.1 | 0.12.1 |
| OSV | PyPI | lief | < 0.12.1 | 0.12.1 |
References
- https://github.com/lief-project/LIEF/issues/764 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2022-38307 · ADVISORY
- https://github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-275.yaml · WEB
- https://github.com/advisories/GHSA-x2xx-jw5m-5j86 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Sep 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Sep 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Sep 2022)