Skip to main content

freeDiameter CVE-2026-139986

| EUVDEUVD-2026-139630 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-11-30 disclosure@vulncheck.com GHSA-g9p4-qrpj-9xhj
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish accepted Diameter peer session
  2. Exploit
    Send Diameter-EAP-Request with over-length Identity
  3. Execution
    Write past heap allocation in identity_process()
  4. Impact
    Crash freeDiameterd (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the app_diameap (DiamEAP) extension to be loaded and configured on freeDiameterd for EAP authentication, and (2) the attacker to be an already-accepted Diameter peer (PR:L) - peers are provisioned and accepted, typically over an authenticated/transport-secured connection, before they can send a Diameter-EAP-Request. The specific trigger is an EAP-Response/Identity payload whose length exceeds the value in its EAP Length field (trailing octets), as added to the eap_payload AVP. Limiting factors that reduce realistic risk: the attacker cannot be an arbitrary outsider - only an accepted peer can reach the vulnerable path; the server must be running freeDiameter through 1.6.0 with the DiamEAP extension enabled; and impact is confined to crashing the daemon (availability), not code execution or data exposure.

Impact

The input CVSS 4.0 score is 7.1 (High), driven entirely by availability impact (VA:H) with no confidentiality or integrity impact (VC:N/VI:N) - consistent with the description, which states the heap overflow is used to corrupt memory and crash freeDiameterd, i.e. a denial-of-service rather than code execution or data compromise. The vector is network-reachable with low complexity and no user interaction (AV:N/AC:L/AT:N/UI:N), but critically requires PR:L: the attacker must already be an accepted Diameter peer, which is a real barrier since peers are provisioned and typically authenticated/transport-secured before being accepted. This narrows the realistic threat population to malicious insiders, a compromised/rogue access gateway or NAS, or a peer whose credentials have been stolen - not arbitrary internet attackers. No EPSS score and no KEV status were provided in the input, so exploitation probability and active-exploitation signals cannot be assessed from the data; their absence is not evidence either way. The vuln.today decision label is 'this_week', indicating prompt but non-emergency remediation. Net: this is a genuine but bounded DoS risk - meaningful for operators of exposed Diameter/EAP AAA infrastructure, but the required peer trust relationship and availability-only impact keep it below critical-emergency priority. No signals conflict; the main gap is the missing EPSS/KEV data.

Exploit ScenarioDerived

An attacker controlling an already-accepted Diameter peer - for example a rogue or compromised access gateway/NAS - initiates EAP authentication and sends a Diameter-EAP-Request carrying an EAP-Response/Identity whose actual payload contains trailing octets beyond the value declared in its EAP Length field. In identity_process() these extra octets are written past the heap allocation, corrupting the heap and crashing the freeDiameterd daemon, denying service to all peers. The fix commit includes a test that reproduces the trigger with a 1025-byte padded identity, but no public exploit identified at time of analysis as a standalone weaponized tool.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Heap-based buffer overflow in freeDiameter through 1.6.0's optional app_diameap extension allows an accepted Diameter peer to crash freeDiameterd by sending a Diameter-EAP-Request whose EAP-Response/Identity carries trailing octets beyond the EAP Length field. The impact is availability-only (CVSS 4.0 7.1 High, VA:H with VC:N/VI:N; independent assessment aligns at CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), and exploitation requires the DiamEAP extension to be loaded plus an already-accepted peer (PR:L). An upstream fix commit is public, no CISA KEV entry exists, and no public exploit code was identified at time of analysis.

RemediationAI

Apply the upstream fix commit 04cb69730fce0d9a58956ee798543a8127287e71 (referenced at https://github.com/freeDiameter/freeDiameter/commit/04cb69730fce0d9a58956ee798543a8127287e71); a tagged patched freeDiameter release version is not confirmed by the input. If the optional app_diameap extension is not needed, do not load it, which removes the vulnerable code path at the cost of losing Diameter EAP authentication. If DiamEAP must remain enabled before the fix is deployed, restrict accepted Diameter peers to trusted, provisioned systems and treat peer acceptance as the security boundary, recognizing that this reduces exposure but does not correct the parser. See the VulnCheck advisory at https://www.vulncheck.com/advisories/freediameter-through-1.6.0-heap-buffer-overflow-via-app-diameap-identity-process for vendor-facing details.

Affected VersionsENISA

freeDiameter 0 ≤1.6.0

Affected Packages

euvd freediameter no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

freeDiameter is a Diameter protocol implementation, and app_diameap is its optional Diameter EAP application extension with an eap_identity plugin. The flaw is CWE-122, a heap-based buffer overflow: the EAP parser in diameap_server.c and the identity handling in eap_identity.c do not honor the EAP Length field when an EAP-Response/Identity contains trailing octets, so data beyond the declared length is processed and can write past a heap allocation. The upstream commit 04cb69730fce0d9a58956ee798543a8127287e71 addresses this by setting eappacket->length and eappacket->ulength to the declared length so octets outside the EAP Length field are ignored, consistent with RFC 3748, and adds a padded EAP exchange test. The supplied assessment limits impact to crashing freeDiameterd rather than code execution or data exposure; the precise heap-write mechanics beyond the parser/identity length mismatch are not fully described in the available sources.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

PR:L because exploitation requires an already-accepted Diameter peer; AV:N/AC:L/UI:N per the described remote single-request trigger; A:H with C:N/I:N since the flaw crashes the daemon without compromising data.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

freeDiameter through 1.6.0 contains a heap-based buffer overflow vulnerability in the app_diameap extension that allows accepted Diameter peers to write past a heap allocation in identity_process(). Attackers can send a Diameter-EAP-Request carrying an EAP-Response/Identity with trailing octets beyond its EAP Length field to corrupt heap memory and crash freeDiameterd.

Executive ViewAI

Why It Matters

The freeDiameter server, specifically its optional DiamEAP extension, contains a high-severity heap overflow that an accepted peer can trigger to crash the server, causing a denial of service. Only organizations using the DiamEAP extension and accepting connections from untrusted peers are at risk; leadership should prioritize mitigation because availability gaps in Diameter infrastructure can disrupt authentication and policy enforcement across dependent services.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict acceptance to trusted Diameter peers (IP allowlisting, mutual TLS with peer certificate validation), disable the app_diameap extension if Diameter EAP is not operationally required, monitor for malformed EAP-Response/Identity messages and unusual crash patterns, and apply the publicly available upstream fix commit as a temporary measure.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Low
niche open-source Diameter/EAP AAA stack, telecom-specific, limited deployment
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy