A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1 allows attackers to cause a denial of service (DOS) through a segmentation fault via a crafted MachO file. A patch for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40922
- https://github.com/lief-project/LIEF/issues/781
- https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af
- https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850
- https://github.com/advisories/GHSA-38hf-c37x-32hv