{"id":"CVE-2026-3994","state":"PUBLISHED","title":"rui314 mold Object File input-files.cc initialize_sections heap-based overflow","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.","publishedAt":"2026-03-12T06:02:11.026Z","updatedAt":"2026-03-12T14:25:44.421Z","severity":{"score":4.8,"label":"Medium","version":"4.0","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/E:P","source":"VulDB"},"assigner":"VulDB","products":["rui314 mold"],"affected":[{"vendor":"rui314","product":"mold","versions":[{"version":"2.40.0","status":"affected"},{"version":"2.40.1","status":"affected"},{"version":"2.40.2","status":"affected"},{"version":"2.40.3","status":"affected"},{"version":"2.40.4","status":"affected"}],"modules":["Object File Handler"]}],"references":["https://vuldb.com/?id.350476","https://vuldb.com/?ctiid.350476","https://vuldb.com/?submit.769772","https://github.com/rui314/mold/issues/1548","https://github.com/oneafter/0209/blob/main/mo2/repro","https://github.com/rui314/mold/"],"weaknesses":["CWE-122","CWE-119"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3994.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3994","state":"PUBLISHED","datePublished":"2026-03-12T06:02:11.026Z","dateUpdated":"2026-03-12T14:25:44.421Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-03-11T16:55:36.872Z"},"containers":{"cna":{"title":"rui314 mold Object File input-files.cc initialize_sections heap-based overflow","descriptions":[{"lang":"en","value":"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":[{"vendor":"rui314","product":"mold","versions":[{"version":"2.40.0","status":"affected"},{"version":"2.40.1","status":"affected"},{"version":"2.40.2","status":"affected"},{"version":"2.40.3","status":"affected"},{"version":"2.40.4","status":"affected"}],"modules":["Object File Handler"]}],"references":[{"url":"https://vuldb.com/?id.350476","name":"VDB-350476 | rui314 mold Object File input-files.cc initialize_sections heap-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.350476","name":"VDB-350476 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.769772","name":"Submit #769772 | rui314 mold mold 2.40.4 and main-branch Heap-based Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/rui314/mold/issues/1548","tags":["issue-tracking"]},{"url":"https://github.com/oneafter/0209/blob/main/mo2/repro","tags":["exploit"]},{"url":"https://github.com/rui314/mold/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4.3,"vectorString":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"Heap-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-03-12T06:02:11.026Z"},"timeline":[{"time":"2026-03-11T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-03-11T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-03-11T18:00:42.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Oneafter (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-12T14:25:27.421403Z","id":"CVE-2026-3994","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-12T14:25:44.421Z"}}]}}}