free5GC NRF Improper Input Validation Vulnerability Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in free5GC's NRF component, specifically in versions prior to 1.4.2. The issue arises from improper input validation in the 'EncodeGroupId' function, which processes the 'group-id-list' parameter. The function accesses array indices without verifying the data length, allowing a remote attacker to send a crafted HTTP GET request that causes the service to panic and crash. This disruption affects all deployments of free5GC using the NRF discovery service.

Impact

Exploitation of this vulnerability causes the NRF service to panic and crash, leading to a complete denial-of-service for the NRF discovery service.

Reproduction

The vulnerability can be reproduced by sending an HTTP GET request to the NRF discovery service with a malformed 'group-id-list' parameter that lacks sufficient separator characters. This can be done using a tool like curl, after disabling OAuth in the nrfcfg.yaml file.

Remediation

Users are advised to upgrade to free5GC NRF version 1.4.2 or later, and to restrict access to the NRF API to trusted sources only.

Added: Mar 20, 2026, 3:26 AM
Updated: Mar 20, 2026, 3:26 AM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
2.5
exploitability
8.7
remediation
7.9
relevance
4.2
threat
6.4
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.