Buffer overflow in Rui314 Mold
CVE-2026-3994
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.001 · 3.8th percentile
- Published
- 2026-03-12
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
Published · last modified .
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.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.001, 3.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Rui314 Mold — versions 2.40.0, 2.40.1, 2.40.2
Weakness classification (CWE)
References
- VDB-350476 | rui314 mold Object File input-files.cc initialize_sections heap-based overflow (technical-description, vdb-entry)
- VDB-350476 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #769772 | rui314 mold mold 2.40.4 and main-branch Heap-based Buffer Overflow (third-party-advisory)
- github.com/rui314/mold/issues/1548 (issue-tracking)
- github.com/oneafter/0209/blob/main/mo2/repro (exploit)
- github.com/rui314/mold/ (product)