CVE-2026-3994
published medium CVSS 4.0 · 4.8rui314 mold Object File input-files.cc initialize_sections heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rui314 | — | mold2.40.0 · 2.40.1 · 2.40.2 · 2.40.3 · 2.40.4 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rui314 | mold | 2.40.0 (affected)2.40.1 (affected)2.40.2 (affected)2.40.3 (affected)2.40.4 (affected) | VulDB · cna |
Weaknesses
2- CWE-122 Heap-based Buffer Overflow
- CWE-119 Memory Corruption
References
6- https://github.com/oneafter/0209/blob/main/mo2/repro
- https://github.com/rui314/mold/
- https://github.com/rui314/mold/issues/1548
- VDB-350476 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.350476
- VDB-350476 | rui314 mold Object File input-files.cc initialize_sections heap-based overflow https://vuldb.com/?id.350476
- Submit #769772 | rui314 mold mold 2.40.4 and main-branch Heap-based Buffer Overflow https://vuldb.com/?submit.769772
Provider assertions
2VulDB · cna
rui314 mold Object File input-files.cc initialize_sections heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 056792c254dedbb9568c09b3847847fcea287740b5abd3503165be6bfdffc47c
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record