github.com/free5gc/chf
Affected
- introduced
0, fixed1.2.2(semver)
Fixed versions
1.2.2
Fix
- Fixed version
1.2.2go get github.com/free5gc/[email protected]
Advisory
Also known as: CVE-2026-32937, GO-2026-4750
Out-of-Bounds Slice Access in free5GC CHF Leading to DoS
Impact
This is 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.
Patches
https://github.com/free5gc/chf/pull/61
Workarounds
nchf-convergedcharging recharge endpoint to strictly trusted NF callers only.High Basis: The source's own band: HIGH
0, fixed 1.2.2 (semver)1.2.2
1.2.2go get github.com/free5gc/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0