CVE-2026-138036 in Free5GC
Summary
by MITRE • 11/28/2026
A vulnerability was detected in Free5GC up to 4.3.0. The impacted element is the function PostPoliciesProcedure of the file internal/sbi/processor/ampolicy.go of the component PCF. Performing a manipulation of the argument supi results in incomplete cleanup. The attack is possible to be carried out remotely. The exploit is now public and may be used. The patch is named eba1c481300df4e7ac8000c99d0cc36dd73b941e. Applying a patch is the recommended action to fix this issue.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability identified in Free5GC versions up to 4.3.0 represents a significant security flaw within the Policy Control Function, specifically affecting the PostPoliciesProcedure implemented in the internal/sbi/processor/ampolicy.go file. This component is critical for managing policy and charging control rules in fifth-generation mobile networks. The core technical issue stems from improper handling of the supi argument during policy procedure execution. When an attacker manipulates this identifier, it triggers a logic error that prevents the system from performing complete cleanup operations after processing the request. This incomplete state management leaves residual resources or data structures in memory without proper deallocation or reset, creating a condition where the application's internal state becomes inconsistent and potentially unstable over time.
From a technical perspective, this flaw is classified as an improper resource cleanup vulnerability, which aligns with CWE-404: Improper Shutdown or Release of Resources. The manipulation of the supi parameter allows for remote exploitation without requiring prior authentication in certain configurations, making it accessible to external adversaries. By repeatedly triggering this condition through crafted requests, an attacker can induce a state where resources are continuously allocated but never fully released. This behavior is characteristic of CWE-772: Missing Release of Resource after Effective Lifetime, which often leads to resource exhaustion scenarios. The vulnerability exists within the Service-Based Interface processor, meaning it interacts directly with network signaling messages, thereby exposing the core infrastructure to remote attacks via standard HTTP/JSON interfaces used in 5G architectures.
The operational impact of this vulnerability is primarily centered on service availability and system stability. Since the exploit allows for incomplete cleanup, sustained exploitation can lead to memory leaks or file descriptor exhaustion within the PCF container. In a production environment, such resource depletion can cause the Policy Control Function to become unresponsive or crash entirely. This results in a denial of service for connected user equipment that rely on dynamic policy updates and charging controls. Furthermore, because Free5GC is often deployed as an open-source reference implementation for 5G core networks, vulnerabilities here may also affect research environments and testbeds where security hardening might be less rigorous than in commercial deployments. The fact that the exploit code is publicly available significantly lowers the barrier to entry for attackers, increasing the likelihood of automated scanning and exploitation attempts against exposed instances.
This vulnerability maps directly to MITRE ATT&CK techniques related to resource exhaustion and denial of service. Specifically, it aligns with T1499: Endpoint Denial of Service, where an attacker degrades or disrupts the availability of a target system by consuming its resources. Additionally, given that the attack vector is remote over the network interface, it falls under Remote Code Execution prerequisites if further exploitation leads to arbitrary code execution through memory corruption, though currently documented as resource exhaustion. The exposure via SBI interfaces means this vulnerability can be leveraged in both public cloud deployments and private 5G networks where external access controls are not strictly enforced or misconfigured.
To mitigate this risk, immediate application of the patch identified by commit hash eba1c481300df4e7ac8000c99d0cc36dd73b941e is strongly recommended for all systems running Free5GC versions up to 4.3.0. This patch addresses the logic error in the ampolicy.go file, ensuring that resources are properly released regardless of how the supi argument is manipulated. Organizations should also implement network-level access controls to restrict SBI endpoints to trusted internal networks only, preventing unauthorized remote access. Monitoring system logs for signs of resource exhaustion or abnormal policy procedure failures can help detect ongoing exploitation attempts before they lead to service disruption. Regular updates and adherence to security best practices for 5G core components are essential to maintaining the integrity and availability of next-generation mobile network infrastructure.