A vulnerability was detected in rui314 mold up to 2.40.4. This issue affects the function mold::ObjectFilemold::X8664::initializesections 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.
{
"cwe_ids": [
"CWE-119",
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3994.json",
"cna_assigner": "VulDB"
}{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "2.40.0"
},
{
"last_affected": "2.40.0"
},
{
"introduced": "2.40.1"
},
{
"last_affected": "2.40.1"
},
{
"introduced": "2.40.2"
},
{
"last_affected": "2.40.2"
},
{
"introduced": "2.40.3"
},
{
"last_affected": "2.40.3"
},
{
"introduced": "2.40.4"
},
{
"last_affected": "2.40.4"
}
]
}