4.8medium
rui314 mold Object File input-files.cc initialize_sections heap-based overflow
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| rui314 mold | 2.40.0, 2.40.1, 2.40.2, 2.40.3, 2.40.4 | CVE List |
All scores
| VulDB | 4.8medium CVSS:4.0 | 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 |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue detectada en rui314 mold hasta la versión 2.40.4. Este problema afecta la función mold::ObjectFilemold::X86_64::initialize_sections del archivo src/input-files.cc del componente Gestor de Archivos de Objeto. Realizar una manipulación resulta en un desbordamiento de búfer basado en montículo. Atacar localmente es un requisito. El exploit ahora es público y puede ser utilizado. El proyecto fue informado del problema tempranamente a través de un informe de problema, pero aún no ha respondido.
References
| https://vuldb.com/?id.350476 | technical-description, vdb-entry | |
| https://vuldb.com/?ctiid.350476 | permissions-required, signature | |
| https://vuldb.com/?submit.769772 | third-party-advisory | |
| https://github.com/rui314/mold/issues/1548 | issue-tracking | |
| https://github.com/oneafter/0209/blob/main/mo2/repro | exploit | |
| https://github.com/rui314/mold/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-3994 changed 2026-03-12 | CVE Terms of Use |
| NVD | CVE-2026-3994 changed 2026-06-17 | Public domain |