CVE-2026-3994

Source
https://cve.org/CVERecord?id=CVE-2026-3994
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3994.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3994
Downstream
Published
2026-03-12T06:02:11Z
Modified
2026-10-21T02:58:10Z
Severity
  • 1.9 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
rui314 mold Object File input-files.cc initialize_sections heap-based overflow
Details

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.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-119",
        "CWE-122"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3994.json"
}
References

Affected packages

Git / github.com/rui314/mold

Affected ranges

Type
GIT
Repo
https://github.com/rui314/mold
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.40.0"
                },
                {
                    "last_affected":  "2.40.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.40.1"
                },
                {
                    "last_affected":  "2.40.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.40.2"
                },
                {
                    "last_affected":  "2.40.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.40.3"
                },
                {
                    "last_affected":  "2.40.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.40.4"
                },
                {
                    "last_affected":  "2.40.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.40.4"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

2.*
2.40.0
2.40.1
2.40.2
2.40.3
2.40.4
v2.*
v2.40.0
v2.40.1
v2.40.2
v2.40.3
v2.40.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3994.json"