Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.3

mold Compiler: Potential Code Execution Risk

CVE-2026-3994
Summary

The mold compiler, a tool for building software, has a weakness that could allow an attacker to execute malicious code. This could lead to unauthorized access or damage to your systems. To protect yourself, ensure you update mold to a version later than 2.40.4 as soon as possible.

Original title
A vulnerability was detected in rui314 mold up to 2.40.4. This issue affects the function mold::ObjectFilemold::X86_64::initialize_sections of the file src/input-files.cc of the component Object Fi...
Original description
A vulnerability was detected in rui314 mold up to 2.40.4. This issue affects the function mold::ObjectFilemold::X86_64::initialize_sections of the file src/input-files.cc of the component Object File Handler. Performing a manipulation results in heap-based buffer overflow. Attacking locally is a requirement. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
osv CVSS3.1 5.3
Published: 12 Mar 2026 · Updated: 13 Mar 2026 · First seen: 13 Mar 2026