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
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.
EPSS exploit prediction
EPSS: 0.002 (5.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 6th percentile — 5.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- Rui314 Mold — versions 2.40.0, 2.40.1, 2.40.2
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, vdb-entry)
- vuldb.com/ (signature, permissions-required)
- vuldb.com/ (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)
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.