Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-32937free5GC CHF has Out-of-Bounds Slice Access that Leads to DoS
High 7.1
In plain English
A high-severity security flaw in chf from free5gc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/free5gc/chf | 1.2.2 | GHSA-6g43-577r-wf4x |
| Go | github.com/free5gc/chf | 1.2.2 | GO-2026-4750 |
Affected products (as reported)
Weakness: CWE-129 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6g43-577r-wf4x x_refsource_CONFIRM
- https://github.com/free5gc/free5gc/issues/864 x_refsource_MISC
- https://github.com/free5gc/chf/pull/61 x_refsource_MISC
- https://github.com/free5gc/chf/commit/55af766f321a00afa978e806548c96f8a7d2433e x_refsource_MISC