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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38495
- https://github.com/lief-project/LIEF/issues/767
- https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.yaml
- https://github.com/advisories/GHSA-42vg-2q93-fj6j