CVE-2026-3994
MEDIUMmold up to 2.40.4 - Heap-Based Buffer Overflow in Object File Handler
Title source: llmDescription
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.
References (6)
Core 6
Core References
Permissions Required, VDB Entry vdb-entry
technical-description
https://vuldb.com/?id.350476
Permissions Required, VDB Entry signature
permissions-required
https://vuldb.com/?ctiid.350476
Permissions Required, VDB Entry third-party-advisory
https://vuldb.com/?submit.769772
Issue Tracking issue-tracking
https://github.com/rui314/mold/issues/1548
Third Party Advisory exploit
https://github.com/oneafter/0209/blob/main/mo2/repro
Various Sources product
https://github.com/rui314/mold/
Scores
CVSS v3
5.3
EPSS
0.0002
EPSS Percentile
5.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-119
CWE-122
Status
published
Published
Mar 12, 2026
Tracked Since
Mar 12, 2026