CVE catalog

CVE-2026-3994

A vulnerability was detected in rui314 mold up to…

[CVE catalog]

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
Medium · CVSS 4.8
Published
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "mold",
      "status": "vulnerable",
      "release": "sid",
      "version": "3.0.0-1"
    },
    {
      "name": "mold",
      "status": "vulnerable",
      "release": "forky",
      "version": "2.42.1+dfsg-1"
    },
    {
      "name": "mold",
      "status": "vulnerable",
      "release": "trixie",
      "version": "2.37.1+dfsg-1"
    },
    {
      "name": "mold",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1.10.1+dfsg-1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "mold",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "mold",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "mold",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "mold",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "mold",
      "ecosystem": "cpe",
      "fixed_version": "not yet fixed"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [mold]Unknown
    Details (2)
    • 1.10.1+dfsg-1 · amd64 · bookworm

      Affected

      nvd · mold · debian · bookworm; nvd · mold · debian · 12

    • 1.10.1+dfsg-1 · arm64 · bookworm

      Affected

      nvd · mold · debian · bookworm; nvd · mold · debian · 12

[Debian 13 (Trixie)]

  • [mold]Unknown
    Details (2)
    • 2.37.1+dfsg-1 · amd64 · trixie

      Affected

      nvd · mold · debian · 13

    • 2.37.1+dfsg-1 · arm64 · trixie

      Affected

      nvd · mold · debian · 13

Observed:

References