CVE-2026-137746 — N/a Free5GC — CWE-400 · CWE-404
A flaw has been found in Free5GC 4.3.0. This vulnerability affects unknown code of the component SMF. This manipulation causes resource consumption. The attack may be initiated remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
A flaw has been found in Free5GC 4.3.0. This vulnerability affects unknown code of the component SMF. This manipulation causes resource consumption. The attack may be initiated remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
🎯 What is this vulnerability?
This vulnerability is a Denial of Service (DoS) flaw in the Session Management Function (SMF) component of Free5GC 4.3.0, a popular open-source 5G Core network implementation.
Technical Analysis:
- CWE-400 (Uncontrolled Resource Consumption) & CWE-404 (Improper Resource Shutdown or Release): The SMF fails to properly validate or limit the size, complexity, or frequency of incoming messages, or it fails to release resources (memory, file descriptors, threads) after processing a request.
- CVSS Vector Interpretation (
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H): - Target Identification: The attacker identifies a 5G Core network running Free5GC. This can be done via: * Banner Grabbing: Scanning for HTTP/2 or specific 5G signaling ports (e.g., 8080, 8443, or custom ports for N2/N4 interfaces) and looking for Free5GC-specific headers or error messages. * Metadata Leakage: If the Free5GC instance is exposed to the internet (a misconfiguration), standard port scanning (Nmap) can reveal open ports associated with SMF services. * Version Fingerprinting: Free5GC often includes version information in HTTP headers or API responses (e.g.,
- Mechanism: The attacker sends a high volume of malformed or resource-intensive messages to the SMF’s network interface. Since
PR:N(No Privileges Required), the attacker does not need valid 5G credentials (e.g., valid SUPI, authentication vectors). - Illustrative PoC (Conceptual): Note: The exact endpoint and payload are not specified in the CVE description. The following is an illustrative example of how resource exhaustion might be triggered in a 5G core signaling interface.* * If the SMF exposes an HTTP/2 interface for N2/N4 signaling, the attacker might send a flood of
* AV:N / PR:N / UI:N: The attack is remote, requires no authentication, and no user interaction. This indicates the SMF exposes a network interface (likely via HTTP/2, N2/N4 interfaces, or Diameter/SIP-like signaling) that is accessible to unauthenticated entities or allows resource exhaustion via malformed/valid-but-heavy packets.
* VA:H (Availability High): The primary impact is a complete loss of availability for the SMF. Since the SMF is critical for session management in 5G, its failure can cascade, causing loss of connectivity for all users relying on that core network instance.
* VC:N / VI:N: No direct confidentiality or integrity impact is scored, meaning the flaw does not directly leak data or allow code execution, but rather exhausts resources.
The Flaw: The SMF component in Free5GC 4.3.0 lacks proper input validation or resource limits on specific signaling messages. An attacker can send a stream of crafted or high-volume messages that cause the SMF to consume excessive CPU, memory, or thread resources, leading to a crash or unresponsiveness.
⚡ Attack Chain
1. Discovery & Reconnaissance
/version endpoint if exposed).2. Exploitation
PDU Session Establishment Request messages with oversized or malformed PDU Session ID or QoS Flow parameters.
* Alternatively, if the SMF uses a custom TCP/UDP protocol, the attacker might send packets that trigger a memory leak in the SMF’s packet parsing logic.# Illustrative Example: Sending a flood of malformed HTTP/2 requests to the SMF endpoint
# Note: This is a conceptual example. The actual endpoint and payload depend on the specific Free5GC configuration.
# The attacker would need to identify the correct port and protocol (HTTP/2, TCP, UDP) for the SMF.
# Using a custom script to send a high volume of malformed requests
for i in {1..10000}; do
curl -s -X POST http://<target_smf_ip>:<port>/nsmf-pdusession \
-H "Content-Type: application/json" \
-d '{"pduSessionId": "AAAA...", "qosFlows": [...oversized_data...], "malformed_field": "x"*10000}' &
done
wait* Key Point: The exploit does not require valid authentication. The SMF processes the request and consumes resources (e.g., allocating memory for the oversized payload, spawning threads for processing) without properly validating or limiting the input.
3. Post-Exploitation
🌍 Real World Impact
🛡️ Remediation & Mitigation
1. Upgrade
2. Workarounds (If Upgrade is Not Immediately Possible)
# Example iptables rule to restrict access to SMF port (e.g., 8080) to internal network only
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROPtc or a load balancer) to limit the number of requests per second to the SMF.3. Detection
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query