high7.8
CVE-2022-38495
LIEF vulnerable to heap based buffer overflow via print_binary function
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | lief | >= 0, <= 0.12.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Lief-Project | Lief | through 0.12.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/lief-project/LIEF/issues/767
- https://github.com/advisories/GHSA-42vg-2q93-fj6j
- https://nvd.nist.gov/vuln/detail/CVE-2022-38495
- https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.yaml