{"id":"CVE-2026-3994","aliases":["DEBIAN-CVE-2026-3994","EUVD-2026-11537","GHSA-w77x-v6v5-9x28","UBUNTU-CVE-2026-3994"],"status":"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.","severity":{"version":"4.0","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/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00144,"percentile":0.03722,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-122"],"published":"2026-03-12T06:02:11Z","modified":"2026-10-28T02:31:05Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.1+dfsg-1","1.11.0+dfsg-1","1.11.0+dfsg-1~exp1","2.1.0+dfsg-1","2.2.0+dfsg-1","2.3.1+dfsg-3","2.3.1+dfsg-4","2.3.2+dfsg-1","2.3.3+dfsg-1","2.30.0+dfsg-1","2.31.0+dfsg-1","2.32.0+dfsg-1","2.32.1+dfsg-1","2.32.1+dfsg-2","2.33.0+dfsg-1","2.34.0+dfsg-1","2.34.1+dfsg-1","2.35.0+dfsg-1","2.35.1+dfsg-1","2.36.0+dfsg-1","2.37.1+dfsg-1","2.4.0+dfsg-1","2.4.1+dfsg-1","2.40.4+dfsg-1","2.40.4+dfsg-2","2.40.4+dfsg-2.1","2.41.0+dfsg-1","2.41.0+dfsg-1.1","2.42.0+dfsg-1","2.42.1+dfsg-1"]},{"source":"osv","ecosystem":"Debian:13","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.37.1+dfsg-1","2.40.4+dfsg-1","2.40.4+dfsg-2","2.40.4+dfsg-2.1","2.41.0+dfsg-1","2.41.0+dfsg-1.1","2.42.0+dfsg-1","2.42.1+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.37.1+dfsg-1","2.40.4+dfsg-1","2.40.4+dfsg-2","2.40.4+dfsg-2.1","2.41.0+dfsg-1","2.41.0+dfsg-1.1","2.42.0+dfsg-1","2.42.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-1ubuntu1","2.3.3+dfsg-1","2.4.0+dfsg-1","2.4.1+dfsg-1","2.30.0+dfsg-1","2.30.0+dfsg-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.37.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.40.4+dfsg-2.1ubuntu1","2.41.0+dfsg-1","2.41.0+dfsg-1.1","2.42.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mold","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.37.1+dfsg-1","2.40.4+dfsg-2.1ubuntu1"]}],"products":[{"vendor":"rui314","product":"mold"}],"references":[{"url":"https://vuldb.com/?id.350476","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/?ctiid.350476","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/?submit.769772","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/rui314/mold/issues/1548","tags":["issue-tracking","report"]},{"url":"https://github.com/oneafter/0209/blob/main/mo2/repro","tags":["exploit","evidence"]},{"url":"https://github.com/rui314/mold/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3994","tags":["advisory"]},{"url":"https://github.com/rui314/mold"},{"url":"https://github.com/advisories/GHSA-w77x-v6v5-9x28"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3994.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-3994","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-3994","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-3994","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-3994","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.","status":"published","published":"2026-03-12T06:02:11.026Z","modified":"2026-03-12T14:25:44.421Z","cvss":[{"version":"4.0","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/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","assessor":"cna"}],"cwes":["CWE-122","CWE-119"],"updated_at":"2026-11-02T13:49:09.229322Z"}],"euvd":[{"id":"EUVD-2026-11537","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.","status":"published","published":"2026-03-12T06:02:11Z","modified":"2026-03-12T14:25:44Z","cvss":[{"version":"4.0","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/E:P","level":"medium"}],"updated_at":"2026-11-02T19:25:36.272941Z"}],"ghsa":[{"id":"GHSA-w77x-v6v5-9x28","title":"A vulnerability was detected in rui314 mold up to 2.40.4. This issue affects the function mold:...","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.","status":"published","published":"2026-03-12T06:31:37Z","modified":"2026-03-12T06:31:43Z","cvss":[{"version":"4.0","score":1.9,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:06:35.141921Z"}],"nvd":[{"id":"CVE-2026-3994","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.","status":"published","published":"2026-03-12T06:16:32.167Z","modified":"2026-06-17T10:44:35.327Z","cvss":[{"version":"4.0","score":1.9,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T14:12:09.358914Z"}],"osv":[{"id":"CVE-2026-3994","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.","status":"published","published":"2026-03-12T06:02:11.026Z","modified":"2026-10-28T02:31:05.169606019Z","cvss":[{"version":"4.0","score":1.9,"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","level":"low"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T15:45:03.040464Z"},{"id":"DEBIAN-CVE-2026-3994","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.","status":"published","published":"2026-03-12T06:16:32.167Z","modified":"2026-10-01T03:03:22.808116161Z","cvss":[{"version":"4.0","score":1.9,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"UBUNTU-CVE-2026-3994","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.","status":"published","published":"2026-03-12T06:16:00Z","modified":"2026-10-17T12:58:14.419622391Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":1.9,"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","level":"low"}],"updated_at":"2026-11-02T16:56:16.686388Z"}]}}
