CVE-2024-31636
Low · 3.9CVSS
3.9
EPSS
0.2%
Published
May 3, 2024
CISA due date
—
Cloudanix analysis
A bug in a tool that reads certain computer program files might let someone who already has access to your computer see some private details.
- Exploitation
- Requires User Interaction
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability in the machd_reader.c component of LIEF allows a local attacker to disclose sensitive information by manipulating the name parameter, potentially exposing internal data structures or memory contents.
Why it matters to the business
Organizations using the LIEF library in their build or analysis tools may face increased risk of local data leakage, which could lead to exposure of proprietary code or configuration details if an attacker has local access.
How an attack unfolds
An attacker with local access to a system running LIEF version 0.14.1 crafts a malicious input targeting the name parameter in the Mach-O reader, causing the library to leak sensitive information during parsing.
How to fix it
Update LIEF to a version later than 0.14.1. If no patch is available, isolate library usage or apply input validation around the name parameter in Mach-O handling.
How to confirm the fix worked
Confirm LIEF version exceeds 0.14.1 in all deployments. Test binary parsing workflows with crafted name parameters to verify absence of information leakage.
Typical attack path
- Gain local access to the target system
- Identify use of LIEF library
- Craft input to trigger the name parameter vulnerability
- Extract disclosed sensitive information
How to detect it
Review local process execution logs for invocations of LIEF involving Mach-O files and inspect for anomalous handling of name fields during parsing operations.
What your security team should do
- Inventory all uses of LIEF across development and analysis environments
- Prioritize upgrade to the latest LIEF release
- Restrict local access to systems performing binary parsing with LIEF
The record
An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the name parameter of the machd_reader.c component.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | lief | 0 | 0.15.0 |
| Debian:11 | lief | 0 | No fix |
| Debian:12 | lief | 0 | No fix |
| Ubuntu:20.04:LTS | lief | 0 | No fix |
| Ubuntu:22.04:LTS | lief | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | lief | 0 | No fix |
Related vulnerabilities
- GHSA-mjjp-xjfg-97wg LIEF is vulnerable to segmentation fault Also affects lief
- CVE-2025-15504 A security flaw has been discovered in lief-project LIEF up to 0.17.1. Also affects lief
- CVE-2026-112898 Pillow is a Python imaging library. CWE-457
- CVE-2026-112893 Pillow is a Python imaging library. CWE-457
- CVE-2026-109828 A vulnerability was found in libsndfile up to 1.2.2. CWE-457
- CVE-2026-84391 A use of uninitialized variable vulnerability in Fortinet FortiAnalyzer 7.6.3 through… CWE-457
- CVE-2026-84639 Triggering an error condition in certain MIME bodies would cause uninitialized memory to… CWE-457
- CVE-2026-78935 Use of uninitialized variable in Mobile in Google Chrome on on iOS prior to 152.0.7977.65… CWE-457