Skip to main content

Free5GC AMF CVE-2026-94043

| EUVDEUVD-2026-83769 MEDIUM
Race Condition (CWE-362)
2026-09-20 VulDB GHSA-xw42-gh9m-wv36
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain 5G control-plane (N2/NAS) access
  2. Delivery
    Flood concurrent GMM signaling
  3. Exploit
    Collide RanUe map read with SCTP-shutdown detach
  4. Execution
    Trigger Go concurrent-map panic
  5. Impact
    Crash AMF, denying service to subscribers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Requires the attacker to reach the AMF's GMM/NAS signaling path over the 5G N2 interface (NGAP over SCTP) - i.e., a malicious or compromised gNB, or a UE able to drive registration/transport signaling - which is a private control-plane network, not the public internet. The race must be won: the attacker must interleave concurrent GMM message handling (reads of AmfUe.RanUe) with an SCTP-association shutdown that invokes DetachRanUe (writes to the same map), so success is timing-dependent and may need repeated attempts (AT:P / AC:H). Only Free5GC deployments at or below version 4.2.3 without commit e323b01 are affected; the fix serializes RanUe access behind a RWMutex.

Impact

This is a genuine but modest-priority defect. The CWE-362 race condition sits in the AMF's GMM signaling handler on the unsynchronized AmfUe.RanUe map; the patch (PR#238) confirms the root cause by adding a sync.RWMutex and a GetRanUe() accessor, with a regression test that races 1000 concurrent reads against a DetachRanUe write. In Go, concurrent map read/write triggers a fatal runtime panic, so the realistic technical impact is a crash/DoS of the AMF - a core 5G network function - not information disclosure. Vendor CVSS 4.0 is 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VA:L, subsequent-system impacts N) with SSVC exploit-maturity E:P (proof-of-concept). I differ on two metrics: race conditions are timing-dependent, so AT:P / AC:H is more honest than AT:N / AC:L, and a full AMF process panic is closer to VA:H/A:H than VA:L. Those two adjustments roughly cancel. There is no EPSS score and no CISA KEV listing; the E:P maturity and public patch/issue thread mean a reproduction path is understood, but no weaponized public exploit is identified. Net: real bug, low-to-moderate real-world urgency, gated heavily by the need for 5G control-plane (N2/NAS) access.

Exploit ScenarioDerived

An attacker with access to the 5G control plane (a rogue/compromised gNB or malicious UE able to send NAS registration/transport messages over N2) floods the AMF with concurrent GMM signaling while an SCTP association tears down, so a NAS read of AmfUe.RanUe collides with the DetachRanUe write. The resulting Go concurrent-map panic crashes the AMF, dropping service for all attached subscribers. No public weaponized exploit exists, but the vendor's own regression test demonstrates the race mechanism (exploit maturity E:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 20, 2026

A race condition in the Free5GC AMF network function, affecting releases up to and including 4.2.3, allows remote attackers to interleave GMM/NAS signalling with SCTP-association teardown so that concurrent unsynchronised access to the AmfUe.RanUe map occurs, which in Go produces a fatal "concurrent map read and map write" runtime error and crashes the AMF, disrupting UE registration and NAS transport for all attached subscribers. Both the supplier's CVSS 4.0 vector (6.9) and our independent assessment treat the flaw as unauthenticated (PR:N) but timing-dependent, with reach limited to the private 5G control plane - a malicious or compromised gNB, or a UE capable of driving registration/transport signalling over the N2 interface - rather than the public internet, and only availability is demonstrably impacted (C:N/I:N/A:H); the supplied "Information Disclosure" tag is not substantiated by the code path. No public exploit was identified at time of analysis (the supplier vector's E:P value reflects proof-of-concept-level maturity only), and an upstream fix is available as commit e323b01464355781b8b8d5dd695e05cbc00a62f2 (PR #238) that serialises RanUe access behind a sync.RWMutex.

RemediationAI

Deploy the upstream fix - free5gc/amf commit e323b01464355781b8b8d5dd695e05cbc00a62f2, merged via pull request https://github.com/free5gc/amf/pull/238 - which wraps every RanUe read and write in the new sync.RWMutex and replaces direct map indexing with the nil-safe GetRanUe accessor; because the reference is a source commit rather than a tagged release, no fixed release version number is independently confirmed, so verify the lock and accessor are actually present in the image or build tag you ship and rebuild the AMF from patched source if your distribution has not yet cut a release. If patching must be deferred, the highest-value compensating control is to restrict the N2 control plane to known gNB peers using IP allowlists, SCTP/NGAP filtering and IPsec on the backhaul, since the race is only reachable from a peer that can send NGAP/NAS signalling and trigger association teardown - at the cost of operational overhead and the risk of blocking legitimate newly provisioned or roaming gNBs. Reducing SCTP association churn (avoiding aggressive gNB restarts, keeping association timers stable) lowers the probability of the writer path racing a reader, but this is probabilistic only, not a fix. Building the AMF with the Go race detector is effective for confirming exposure in staging builds, but the resulting performance penalty makes it unsuitable for production. Finally, monitor AMF logs for the fatal "concurrent map read and map write" runtime error as a crash indicator and treat repeated AMF restarts as evidence of exploitation attempts rather than benign instability; the upstream regression test TestAmfUeRanUeConcurrentAccess can be backported into an existing test suite to validate whether a given build retains the unguarded access pattern.

Affected VersionsENISA

Free5GC 4.2.3
Free5GC 4.2.0
Free5GC 4.2.2
Free5GC 4.2.1

Affected Packages

euvd free5gc 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

The defect is an instance of CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) in the AMF (Access and Mobility Management Function), the 5G core NF that terminates NAS signalling from UEs on the N1 reference point and NGAP signalling from gNBs on the N2 reference point (NGAP over SCTP). The shared resource is the AmfUe.RanUe map, a models.AccessType-indexed map of *RanUe objects defined in internal/context/amf_ue.go; Go maps are not safe for concurrent read and write, and the Go runtime treats such an overlap as an unrecoverable fatal error that cannot be caught by recover(), so the practical outcome is process termination rather than silent memory corruption. The vulnerable interleaving is between a reader path - the GMM handler in /corefuzzer_deps/free5gc/NFs/amf/internal/gmm/handler.go and the profile helpers in internal/gmm/common/user_profile.go, which index ue.RanUe[anType] to route DL NAS transport and PDU session release commands - and a writer path in AmfUe.DetachRanUe/Remove, invoked when an SCTP association is torn down. The upstream fix (PR #238, commit e323b01464355781b8b8d5dd695e05cbc00a62f2) introduces a sync.RWMutex named ranUeMu guarding the map, converts direct indexing to a nil-safe GetRanUe accessor that takes an RLock, and copies the RanUe set under RLock before iterating in Remove(); it also ships a regression test, TestAmfUeRanUeConcurrentAccess, that reproduces exactly the reader-versus-DetachRanUe interleaving described in the NAS/handler path. Note the CPE record cpe:2.3:a:n/a:free5gc:*:*:*:*:*:*:*:* is low-fidelity - the vendor field is literally 'n/a' and the version component is unbounded - so the 4.2.3 ceiling comes from the advisory prose rather than CPE matching.

Know when Free5gc gets its next vulnerability

  • 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 (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.9 MEDIUM

Reachable over the control-plane network (AV:N, PR:N) but exploitation depends on winning a timing race (AC:H); impact is a Go panic crashing the AMF (A:H), with no confidentiality or integrity effect.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

1
CVSS changed
Sep 20, 2026 - 19:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.org

A vulnerability was determined in Free5GC up to 4.2.3. This vulnerability affects unknown code of the file /corefuzzer_deps/free5gc/NFs/amf/internal/gmm/handler.go of the component Gmm Handler. This manipulation causes race condition. The attack can be initiated remotely. Patch name: e323b01464355781b8b8d5dd695e05cbc00a62f2. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Low
open-source 5G core, mainly research, testbed, and private-5G deployments
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

CVE-2025-66719 CRITICAL POC
9.1 Jan 23

Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke

CVE-2025-69252 HIGH POC
7.5 Feb 24

free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co

CVE-2025-69248 HIGH POC
7.5 Feb 23

free5GC is an open-source project for 5th generation (5G) mobile core networks. Versions up to and including 1.4.1 of fr

CVE-2025-70123 HIGH POC
7.5 Feb 13

An improper input validation and protocol compliance vulnerability in free5GC v4.0.1 allows remote attackers to cause a

CVE-2025-69232 HIGH POC
7.5 Feb 23

free5GC is an open-source project for 5th generation (5G) mobile core networks. free5GC go-upf versions up to and includ

CVE-2025-60638 HIGH POC
7.5 Nov 24

An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via crafted POST

CVE-2025-69247 HIGH POC
7.5 Feb 23

free5GC go-upf is the User Plane Function (UPF) implementation for 5G networks that is part of the free5GC project. Vers

CVE-2025-70121 HIGH POC
7.5 Feb 13

An array index out of bounds vulnerability in the AMF component of free5GC v4.0.1 allows remote attackers to cause a den

CVE-2025-70122 HIGH POC
7.5 Feb 13

A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of

CVE-2025-69250 HIGH POC
7.5 Feb 24

free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co

CVE-2025-63679 HIGH POC
7.5 Nov 12

free5gc v4.1.0 and before is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remote

CVE-2025-56394 HIGH POC
7.5 Sep 23

Free5gc 4.0.1 is vulnerable to Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitab

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