rui314 mold up to 2.40.4 Object File src/input-files.cc initialize_sections heap-based overflow

Summaryinfo

A vulnerability classified as critical was found in rui314 mold up to 2.40.4. Impacted is the function mold::ObjectFilemold::X86_64::initialize_sections of the file src/input-files.cc of the component Object File Handler. Executing a manipulation can lead to heap-based overflow. This vulnerability is handled as CVE-2026-3994. It is possible to launch the attack on the local host. Additionally, an exploit exists. The project was informed of the problem early through an issue report but has not responded yet.

Detailsinfo

A vulnerability was found in rui314 mold up to 2.40.4. It has been declared as critical. This vulnerability affects the function mold::ObjectFilemold::X86_64::initialize_sections of the file src/input-files.cc of the component Object File Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality, integrity, and availability.

The advisory is shared for download at github.com. This vulnerability was named CVE-2026-3994. The exploitation appears to be easy. The attack needs to be approached locally. Technical details and also a public exploit are known.

It is possible to download the exploit at github.com. It is declared as proof-of-concept. The project was informed of the problem early through an issue report but has not responded yet.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-11537). Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 5.3
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

03/11/2026 Advisory disclosed
03/11/2026 +0 days VulDB entry created
03/17/2026 +6 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 1548
Status: Not defined

CVE: CVE-2026-3994 (🔒)
GCVE (CVE): GCVE-0-2026-3994
GCVE (VulDB): GCVE-100-350476
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/11/2026 18:00
Updated: 03/17/2026 10:08
Changes: 03/11/2026 18:00 (58), 03/12/2026 12:18 (1), 03/17/2026 10:08 (31)
Complete: 🔍
Submitter: Oneafter
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #769772: rui314 mold mold 2.40.4 and main-branch Heap-based Buffer Overflow (by Oneafter)

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!