{"id":"CVE-2022-38307","aliases":["GHSA-x2xx-jw5m-5j86","PYSEC-2022-275"],"url":"https://o3.security/vulnerability/CVE-2022-38307","summary":"LIEF contains segmentation violation","details":"LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function `LIEF::MachO::SegmentCommand::file_offset()` at `/MachO/SegmentCommand.cpp`. Commit 7acf0bc4224081d4f425fcc8b2e361b95291d878 contains a patch.","published":"2022-09-13T20:16:45Z","modified":"2026-10-28T02:30:34.871738239Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":{"score":0.00304,"percentile":0.2321,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"lief","fixedVersion":"0.12.1"}],"fix":{"url":"https://github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878","label":"lief-project/LIEF@7acf0bc"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38307.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38307"},{"type":"REPORT","url":"https://github.com/lief-project/LIEF/issues/764"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-275.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:34.871738239Z"}}