freeDiameter heap buffer overflow in app_diameap identity processing
Affects freeDiameter 1.6.0 and earlier when the app_diameap extension is used. The checked facts name no fixed version.
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Summary
The freeDiameter software's app_diameap extension has a heap buffer overflow in its identity processing. Remotely, an attacker who is an accepted Diameter peer and has low-level access can send a crafted identity message with extra bytes beyond its stated length, corrupting heap memory and crashing freeDiameterd.
Written by a model
Original description
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.
Who should check
Teams running freeDiameter 1.6.0 or earlier with the app_diameap extension, which accepts Diameter peers
“freeDiameter through 1.6.0 contains a heap-based buffer overflow vulnerability in the app_diameap extension”
What to do
Check whether your setup matches what the bug needs.
freeDiameter 1.6.0 and earlier with the app_diameap extension An EAP Identity response carrying trailing octets beyond its EAP Length fieldApply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139986 (freeDiameter through 1.6.0 Heap Buffer Overflow via app_diameap identity_process()), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139986 (entry last updated 2026-11-30):
Affected:
- freeDiameter freeDiameter: through 1.6.0
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- freeDiameter 1.6.0 and earlier with the app_diameap extension (source: https://www.vulncheck.com/advisories/freediameter-through-1.6.0-heap-buffer-overflow-via-app-diameap-identity-process)
- An EAP Identity response carrying trailing octets beyond its EAP Length field (source: https://www.vulncheck.com/advisories/freediameter-through-1.6.0-heap-buffer-overflow-via-app-diameap-identity-process)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-139986 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139986 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/freeDiameter/freeDiameter/commit/04cb69730fce0d9a58956ee798543a8127287e71
- https://github.com/freeDiameter/freeDiameter/blob/1.6.0/extensions/app_diameap/plugins/eap_identity/eap_identity.c#L144-L152
- https://github.com/freeDiameter/freeDiameter/blob/1.6.0/extensions/app_diameap/diameap_server.c#L449-L456
- https://www.vulncheck.com/advisories/freediameter-through-1.6.0-heap-buffer-overflow-via-app-diameap-identity-process
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139986
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139986"}.Affected versions
- freeDiameter freeDiameterthrough 1.6.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.1/10CVSS 7.1
- No patch0/5No signal
What would change the score
- Would score about 65 if added to CISA KEV
- Would score about 60 if CISA's SSVC rates exploitation active
- Would score about 22 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-139986 |
| Record | NVD · CVE-2026-139986 |
| Other links 4 | |
| Patch | GitHub · freeDiameter/freeDiameter · Commit 04cb6973 |
| Repository | GitHub · freeDiameter/freeDiameter · extensions/app_diameap/plugins/eap_identity/eap_identity.c · L144-L152 |
| Repository | GitHub · freeDiameter/freeDiameter · extensions/app_diameap/diameap_server.c · L449-L456 |
| Link | vulncheck.com · advisories/freediameter-through-1.6.0-heap-buffer-overflow-via-app-diameap-identity-process |
Questions about CVE-2026-139986
Is CVE-2026-139986 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
An EAP-Response/Identity carrying trailing octets beyond its EAP Length field can corrupt heap memory in the app_diameap extension and crash freeDiameterd, causing denial of service. The advisory describes attackers as accepted Diameter peers.
Source: vulncheck.com
Which versions are affected by CVE-2026-139986?
freeDiameter: through 1.6.0.
Source: cve.now feed data
Am I affected, and how do I check?
freeDiameter through 1.6.0 is affected when the app_diameap extension is in use. To check, confirm the installed freeDiameter version and whether the app_diameap extension is part of your setup.
Source: vulncheck.com
How do I fix CVE-2026-139986?
The checked facts name no fixed version and no patch identifier, so no upgrade target can be given from them. Check the vendor's advisory for a fix before relying on any version.
Source: vulncheck.com
Related
- CVE-2026-138391D-Link DI-8100 jhttpd httpd_do_recv heap-based overflow
- CVE-2026-136626SRS before 6.0.194, 7.0.214, and 8.0.73 Heap Buffer Overflow via RTCP Decoding
- CVE-2026-136156Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
- CVE-2026-134052Open Robotics RViz fillIndexBuffer Heap-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2026-138163Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
- CVE-2026-135722FFmpeg before 9.1 Heap Buffer Overflow via WAV Muxer Peak Envelope Writer
No corrections so far. Something wrong on this page? Report an error.