CVE-2026-44318

free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's BSF PUT /nbsf-management/v1/subscriptions/{subId} handler has an unsynchronized write on the global Subscriptions map. The handler first reads the map under RLock() via BSFContext.GetSubscription(subId), but if the subscription does not exist, ReplaceIndividualSubcription() writes back to the same map directly without taking the mutex (bsfContext.BsfSelf.Subscriptions[subId] = subscription). Under concurrent authenticated PUT load, one goroutine can read while another writes the map, which causes the Go runtime to abort the process with fatal error: concurrent map read and map write (Go runtime panics that come from concurrent map access bypass recover() and terminate the process). The BSF container exits with code 2 -- the entire BSF SBI surface goes down until restart. This vulnerability is fixed in 4.2.2.
Configurations

Configuration 1 (hide)

cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*

History

14 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) free5GC es una implementación de código abierto de la red central 5G. Antes de la versión 4.2.2, el gestor BSF PUT /nbsf-management/v1/subscriptions/{subId} de free5GC tiene una escritura no sincronizada en el mapa global de Subscriptions. El gestor primero lee el mapa bajo RLock() a través de BSFContext.GetSubscription(subId), pero si la suscripción no existe, ReplaceIndividualSubcription() escribe de nuevo en el mismo mapa directamente sin tomar el mutex (bsfContext.BsfSelf.Subscriptions[subId] = subscription). Bajo una carga PUT autenticada concurrente, una goroutine puede leer mientras otra escribe en el mapa, lo que hace que el tiempo de ejecución de Go aborte el proceso con un error fatal: lectura y escritura concurrente de mapa (los panics del tiempo de ejecución de Go que provienen del acceso concurrente al mapa evitan recover() y terminan el proceso). El contenedor BSF sale con código 2 -- toda la superficie SBI del BSF se cae hasta el reinicio. Esta vulnerabilidad se corrige en la versión 4.2.2.

Information

Published : 2026-05-27 17:16

Updated : 2026-10-14 20:10


NVD link : CVE-2026-44318

Mitre link : CVE-2026-44318

CVE.ORG link : CVE-2026-44318


JSON object : View

Products Affected

free5gc

  • free5gc
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-820

Missing Synchronization