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
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.
Free5gc NRF 1.4.0 has an authorization bypass in access token generation that allows authenticated users to request toke
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
free5GC is an open-source project for 5th generation (5G) mobile core networks. Versions up to and including 1.4.1 of fr
An improper input validation and protocol compliance vulnerability in free5GC v4.0.1 allows remote attackers to cause a
free5GC is an open-source project for 5th generation (5G) mobile core networks. free5GC go-upf versions up to and includ
free5GC go-upf is the User Plane Function (UPF) implementation for 5G networks that is part of the free5GC project. Vers
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
free5gc UDM provides Unified Data Management (UDM) for free5GC, an open-source project for 5th generation (5G) mobile co
Remote attackers can inject control characters into the SUPI parameter of free5GC UDM versions up to 1.4.1, causing URL
free5GC SMF versions up to 1.4.1 crash when receiving malformed PFCP SessionReportRequest packets on UDP port 8805, allo
free5GC SMF versions up to 1.4.1 crash when processing malformed PFCP SessionReportRequest messages on the UDP/8805 inte
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