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.
https://vuldb.com/?submit.769772
https://vuldb.com/?ctiid.350476
https://github.com/rui314/mold/issues/1548
Published: 2026-03-12
Updated: 2026-03-12
Base Score: 4.3
Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:P
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Severity: Medium
Base Score: 4.8
Vector: 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
Severity: Medium
EPSS: 0.00013