CVE-2026-32937

free5GC is an open source 5G core network. free5GC CHF prior to version 1.2.2 has an out-of-bounds slice access vulnerability in the CHF `nchf-convergedcharging` service. A valid authenticated request to PUT `/nchf-convergedcharging/v3/recharging/:ueId?ratingGroup=...` can trigger a server-side panic in `github.com/free5gc/chf/internal/sbi.(*Server).RechargePut(...)` due to an out-of-range slice access. In the reported runtime, Gin recovery converts the panic into HTTP 500, but the recharge path remains remotely panic-triggerable and can be abused repeatedly to degrade recharge functionality and flood logs. In deployments without equivalent recovery handling, this panic may cause more severe service disruption. free5GC CHF patches the issue. Some workarounds are available: Restrict access to the `nchf-convergedcharging` recharge endpoint to strictly trusted NF callers only; apply rate limiting or network ACLs in front of the CHF SBI interface to reduce repeated panic-trigger attempts; if the recharge API is not required, temporarily disable or block external reachability to this route; and/or ensure panic recovery, monitoring, and alerting are enabled.
Configurations

Configuration 1 (hide)

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

History

27 Mar 2026, 17:21

Type Values Removed Values Added
CPE cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*
Summary
  • (es) free5GC es una red central 5G de código abierto. free5GC CHF anterior a la versión 1.2.2 tiene una vulnerabilidad de acceso a una porción fuera de límites en el servicio CHF 'nchf-convergedcharging'. Una solicitud autenticada válida a PUT `/nchf-convergedcharging/v3/recharging/:ueId?ratingGroup=...` puede desencadenar un pánico del lado del servidor en 'github.com/free5gc/chf/internal/sbi.(*Server).RechargePut(...)' debido a un acceso a una porción fuera de rango. En el tiempo de ejecución reportado, la recuperación de Gin convierte el pánico en HTTP 500, pero la ruta de recarga permanece remotamente susceptible de desencadenar un pánico y puede ser abusada repetidamente para degradar la funcionalidad de recarga e inundar los registros. En implementaciones sin un manejo de recuperación equivalente, este pánico puede causar una interrupción del servicio más grave. free5GC CHF aplica un parche al problema. Algunas soluciones alternativas están disponibles: Restringir el acceso al punto final de recarga 'nchf-convergedcharging' solo a llamadores NF estrictamente confiables; aplicar limitación de velocidad o ACL de red delante de la interfaz SBI del CHF para reducir los intentos repetidos de desencadenar pánicos; si la API de recarga no es necesaria, deshabilitar o bloquear temporalmente la accesibilidad externa a esta ruta; y/o asegurar que la recuperación de pánicos, el monitoreo y las alertas estén habilitados.
References () https://github.com/free5gc/chf/commit/55af766f321a00afa978e806548c96f8a7d2433e - () https://github.com/free5gc/chf/commit/55af766f321a00afa978e806548c96f8a7d2433e - Patch
References () https://github.com/free5gc/chf/pull/61 - () https://github.com/free5gc/chf/pull/61 - Issue Tracking
References () https://github.com/free5gc/free5gc/issues/864 - () https://github.com/free5gc/free5gc/issues/864 - Issue Tracking
References () https://github.com/free5gc/free5gc/security/advisories/GHSA-6g43-577r-wf4x - () https://github.com/free5gc/free5gc/security/advisories/GHSA-6g43-577r-wf4x - Vendor Advisory
First Time Free5gc free5gc
Free5gc
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

20 Mar 2026, 03:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-20 03:16

Updated : 2026-03-27 17:21


NVD link : CVE-2026-32937

Mitre link : CVE-2026-32937

CVE.ORG link : CVE-2026-32937


JSON object : View

Products Affected

free5gc

  • free5gc
CWE
CWE-129

Improper Validation of Array Index