CVE-2026-3994
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| rui314 | mold | 2.40.0 | affected |
| rui314 | mold | 2.40.1 | affected |
| rui314 | mold | 2.40.2 | affected |
| rui314 | mold | 2.40.3 | affected |
| rui314 | mold | 2.40.4 | affected |
Weaknesses
- CWE-122: Heap-based Buffer Overflow
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://vuldb.com/?id.350476
- https://vuldb.com/?ctiid.350476
- https://vuldb.com/?submit.769772
- https://github.com/rui314/mold/issues/1548
- https://github.com/oneafter/0209/blob/main/mo2/repro
- https://github.com/rui314/mold/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.