{"id":"CVE-2022-38495","aliases":["GHSA-42vg-2q93-fj6j","PYSEC-2022-276"],"url":"https://o3.security/vulnerability/CVE-2022-38495","summary":"LIEF vulnerable to heap based buffer overflow via print_binary function","details":"LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function `print_binary` at `/c/macho_reader.c`. Commit 0033b6312fd311b2e45e379c04a83d77c1e58578 contains a patch.","published":"2022-09-13T20:16:46Z","modified":"2026-08-12T03:51:19.884991249Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":{"score":0.00343,"percentile":0.27711,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"lief","fixedVersion":null}],"fix":{"url":"https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578","label":"lief-project/LIEF@0033b63"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38495.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38495"},{"type":"REPORT","url":"https://github.com/lief-project/LIEF/issues/767"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:19.884991249Z"}}