Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-31670: n/a

0
Medium
VulnerabilityCVE-2024-31670cvecve-2024-31670
Published: Thu Dec 12 2024 (12/12/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

rizin before v0.6.3 is vulnerable to Buffer Overflow via create_cache_bins, read_cache_accel, and rz_dyldcache_new_buf functions in librz/bin/format/mach0/dyldcache.c.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 16:28:46 UTC

Technical Analysis

CVE-2024-31670 is a buffer overflow vulnerability identified in the rizin reverse engineering framework, specifically affecting versions before 0.6.3. The vulnerability resides in the Mach-O dyldcache parsing code, notably within the functions create_cache_bins, read_cache_accel, and rz_dyldcache_new_buf located in librz/bin/format/mach0/dyldcache.c. These functions handle the creation and reading of cache bins and buffers related to the dynamic linker cache on macOS binaries. Due to improper bounds checking or insufficient validation of input data, an attacker can trigger a buffer overflow, potentially overwriting adjacent memory. This can lead to partial compromise of confidentiality, integrity, and availability of the affected system. The CVSS v3.1 score is 6.3 (medium), with an attack vector of network (AV:N), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), and unchanged scope (S:U). Although exploitation requires some level of privilege, no user interaction is needed, making automated or remote exploitation feasible in certain environments. There are currently no known exploits in the wild, and no official patches have been linked yet. The vulnerability is classified under CWE-120 (Classic Buffer Overflow).

Potential Impact

The vulnerability could allow an attacker with low privileges and network access to cause a buffer overflow in rizin when processing Mach-O dyldcache files. This may lead to arbitrary code execution, memory corruption, or denial of service, impacting confidentiality, integrity, and availability to a limited extent. Since rizin is primarily used by security researchers, reverse engineers, and developers analyzing binaries, exploitation could compromise the analysis environment or lead to execution of malicious payloads within that context. Organizations relying on rizin for malware analysis or software auditing could face risks of corrupted analysis results or compromised systems. The impact is somewhat contained by the requirement for low privileges and the niche usage of rizin, but the risk remains significant in targeted attacks or research environments.

Mitigation Recommendations

To mitigate CVE-2024-31670, organizations should: 1) Upgrade rizin to version 0.6.3 or later once the patch is officially released. 2) Restrict network access to systems running rizin to trusted users only, minimizing exposure. 3) Employ strict input validation and sandboxing when processing untrusted Mach-O binaries to limit potential exploitation. 4) Monitor logs and system behavior for anomalies indicative of buffer overflow exploitation attempts. 5) Use memory protection mechanisms such as ASLR and DEP to reduce exploitation success. 6) Consider running rizin in isolated environments or containers to contain potential compromises. 7) Stay updated with vendor advisories and community reports for any emerging exploits or patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-04-05T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6dd5b7ef31ef0b58f074

Added to database: 2/25/2026, 9:47:01 PM

Last enriched: 2/26/2026, 4:28:46 PM

Last updated: 4/12/2026, 9:24:04 AM

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses