{"id":"CVE-2026-32937","aliases":["CVE-2026-32937","GHSA-6g43-577r-wf4x","GO-2026-4750"],"related":[],"kind":"vulnerability","state":"published","title":"free5GC CHF has Out-of-Bounds Slice Access that Leads to DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThis is an out-of-bounds slice access vulnerability in the CHF `nchf-convergedcharging` service.\nA 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.\n\n### Patches\nhttps://github.com/free5gc/chf/pull/61\n\n### Workarounds\n- Restrict access to the `nchf-convergedcharging` recharge endpoint to strictly trusted NF callers only.\n- Apply rate limiting or network ACLs in front of the CHF SBI interface to reduce repeated panic-trigger attempts.\n- If the recharge API is not required, temporarily disable or block external reachability to this route.\n- Ensure panic recovery, monitoring, and alerting are enabled.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Out-of-Bounds Slice Access in free5GC CHF Leading to DoS in github.com/free5gc/chf","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-18T17:26:27.000Z","modified":"2026-06-17T10:36:35.740Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"version":"< 1.2.2","status":"affected"}],"vendor":"free5gc","product":"chf","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/free5gc/chf","purl":"pkg:golang/github.com/free5gc/chf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/free5gc/chf","purl":"pkg:golang/github.com/free5gc/chf","source":"go"},{"ranges":[{"status":"affected","fixed":"1.2.2"}],"vendor":"free5gc","product":"free5gc","cpe":"cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/free5gc/free5gc/security/advisories/GHSA-6g43-577r-wf4x","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/free5gc/free5gc/issues/864","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/free5gc/chf/pull/61","tags":["fix","issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/free5gc/chf/commit/55af766f321a00afa978e806548c96f8a7d2433e","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32937","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/free5gc/chf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-20T19:55:24.210Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32937","url":"https://www.cve.org/CVERecord?id=CVE-2026-32937","licence":"CVE Terms of Use","modified":"2026-03-20T19:56:21.132Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6g43-577r-wf4x","url":"https://github.com/advisories/GHSA-6g43-577r-wf4x","licence":"CC-BY-4.0","modified":"2026-03-23T18:56:24.524Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4750","url":"https://pkg.go.dev/vuln/GO-2026-4750","licence":"CC-BY-4.0","modified":"2026-03-23T18:45:17.759Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32937","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32937","licence":"Public domain","modified":"2026-06-17T10:36:35.740Z"}],"updatedAt":"2026-11-25T22:59:16.265Z","epss":{"score":0.00459,"percentile":0.41517,"date":"2026-12-01T12:00:22.000Z"}}