CVE-2022-40922Lief-project Lief
Medium 6.5 No auth needed
Follow: this CVE · Lief-project · Lief-project Lief We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Oct 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lief.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lief |
< 0.12.2 |
0.12.2 |
pip install "lief>=0.12.2" |
| PyPI | lief |
< 0.12.2 |
0.12.2 |
pip install "lief>=0.12.2" |
Per OSV / GitHub Advisories (GHSA-38hf-c37x-32hv, PYSEC-2022-43138). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lief-project | lief | 0.12.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory