Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-3994 EUVD-2026-11537GHSA-w77x-v6v5-9x28

rui314 mold Object File input-files.cc initialize_sections heap-based overflow

Published Mar 12, 2026 · Updated Mar 12, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
rui314 mold 2.40.0, 2.40.1, 2.40.2, 2.40.3, 2.40.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 mold No fix yet —
Debian 12 mold No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mold No fix yet —
Ubuntu 26.04 LTS mold No fix yet —
Ubuntu 25.10 mold No fix yet —
Ubuntu 24.04 LTS mold No fix yet —
Ubuntu 22.04 LTS mold No fix yet —

References