Buffer overflow in Rui314 Mold
CVE-2026-3994
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.
Vulnerability class: Buffer Overflow
EPSS: 0.001 (2.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Rui314 Mold — versions 2.40.0, 2.40.1, 2.40.2
Weakness classification (CWE)
References
- cna@vuldb.com (technical-description, vdb-entry)
- cna@vuldb.com (signature, permissions-required)
- cna@vuldb.com (third-party-advisory)
- cna@vuldb.com (issue-tracking)
- cna@vuldb.com (exploit)
- cna@vuldb.com (product)
Frequently asked questions
- What is CVE-2026-3994?
- CVE-2026-3994 is a medium-severity vulnerability in Rui314 Mold, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2026-03-12.
- How severe is CVE-2026-3994?
- Medium severity. CVSS v3 base score is 5.3 out of 10.