CVE-2022-40923Lief-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
- Sep 30, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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::SegmentCommand::virtual_address 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.1 |
no fixed version | — |
| PyPI | lief |
≤ 0.12.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-rm2x-hgr8-w343, PYSEC-2022-43139). 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 Patch