Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
7DescriptionGitHub Advisory
free5GC UDR is the Policy Control Function (PCF) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. A memory leak vulnerability in versions prior to 1.4.3 allows any unauthenticated attacker with network access to the PCF SBI interface to cause uncontrolled memory growth by sending repeated HTTP requests to the OAM endpoint. The root cause is a router.Use() call inside an HTTP handler that registers a new CORS middleware on every incoming request, permanently growing the Gin router's handler chain. This leads to progressive memory exhaustion and eventual Denial of Service of the PCF, preventing all UEs from obtaining AM and SM policies and blocking 5G session establishment. Version 1.4.3 contains a patch.
AnalysisAI
Unauthenticated remote attackers can crash free5GC Policy Control Function (PCF) versions before 1.4.3 via repeated HTTP requests to the OAM endpoint over the Service-Based Interface. Each request leaks memory by registering duplicate CORS middleware in the Gin router handler chain, causing progressive memory exhaustion that prevents all User Equipment from establishing 5G sessions. Patched in version 1.4.3 via commit 599803b. EPSS data unavailable; not listed in CISA KEV. CVSS 7.5 High severity reflects network-accessible unauthenticated attack with high availability impact.
Technical ContextAI
The vulnerability affects the Policy Control Function component of free5GC, an open-source implementation of the 5G Core network Service-Based Architecture. The PCF exposes REST APIs over the Service-Based Interface (SBI) for policy control operations and Operations, Administration, and Maintenance (OAM) functions. The root cause is CWE-400 (Uncontrolled Resource Consumption) stemming from improper middleware registration in the Gin web framework for Go. Specifically, a router.Use() call placed inside an HTTP request handler causes the application to register a new instance of CORS middleware with every incoming request to the OAM endpoint. Since Gin's router architecture appends middleware to a handler chain without deduplication, repeated requests create an unbounded chain that consumes memory linearly with request count. Unlike typical memory leaks where allocations are not freed, this is a logical resource leak where valid middleware handlers accumulate indefinitely in the router's internal data structures.
RemediationAI
Upgrade free5GC to version 1.4.3 or later, which includes the patch commit 599803b1b2eb4611e26d5216481ee142bce71a16 that relocates the router.Use() middleware registration outside the request handler to execute only once during application initialization. The patch is available at https://github.com/free5gc/pcf/commit/599803b1b2eb4611e26d5216481ee142bce71a16 and incorporated in the 1.4.3 release per the GitHub Security Advisory at https://github.com/free5gc/free5gc/security/advisories/GHSA-98cp-84m9-q3qp. For environments where immediate patching is not feasible, implement network-layer access controls to restrict PCF SBI interface exposure: deploy firewall rules permitting OAM endpoint access only from authorized management systems (specific IP addresses of legitimate O&M platforms), not general network access; configure the PCF behind a reverse proxy or API gateway with rate limiting on the OAM endpoint (limit requests per source IP to 10-20 per minute) to slow memory accumulation, though this only delays exhaustion rather than preventing it; monitor PCF memory consumption with alerts at 70-80% thresholds to enable preemptive restarts before service failure. Note that rate limiting provides limited protection since even low-rate sustained requests will eventually exhaust memory, and service restarts cause session disruption for all connected User Equipment, making them operationally expensive mitigation measures. Patching to 1.4.3 is the only complete remediation.
An improper input validation and protocol compliance vulnerability in free5GC v4.0.1 allows remote attackers to cause a
An array index out of bounds vulnerability in the AMF component of free5GC v4.0.1 allows remote attackers to cause a den
A heap buffer overflow vulnerability in the UPF component of free5GC v4.0.1 allows remote attackers to cause a denial of
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
An issue was discovered in free5GC version 3.3.0, allows remote attackers to execute arbitrary code and cause a denial o
Buffer Overflow vulnerability in free5gc 3.3.0 allows attackers to cause a denial of service via crafted PFCP messages w
Buffer Overflow vulnerability in free5gc 3.3.0 allows attackers to cause a denial of service via crafted PFCP message wi
Buffer Overflow vulnerability in free5gc 3.3.0, UPF 1.2.0, and SMF 1.2.0 allows attackers to cause a denial of service v
In Free5gc v3.0.5, the AMF breaks due to malformed NAS messages. Rated high severity (CVSS 7.5), this vulnerability is r
Free5gc v3.2.1 is vulnerable to Information disclosure. Rated high severity (CVSS 7.5), this vulnerability is remotely e
Cross-Site Request Forgery vulnerability, whose exploitation could allow an attacker to perform different actions on the
Denial of service in Free5GC 4.2.0 NGSetupRequest Handler allows unauthenticated remote attackers to crash the AMF (Acce
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-24575
GHSA-98cp-84m9-q3qp