CVE-2026-32937: Github.com/free5gc/chf Denial of Service Vulnerability
HIGHCVE-2026-32937 is a HIGH denial of service vulnerability (CWE-129: Improper Validation of Array Index) affecting Github.com/free5gc/chf libraries in the Go ecosystem. The issue involves out-of-bounds slice access in free5gc chf leading to dos. Remediation is available by upgrading affected packages to version 1.2.2.
CVE-2026-32937 at a Glance
How to Fix CVE-2026-32937
To remediate this vulnerability, upgrade all affected Github.com/free5gc/chf dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/free5gc/chf to 1.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/free5gc/chf
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-32937, inspect your project dependencies for Github.com/free5gc/chf:
inspect dependencies for github.com/free5gc/chf
Analyze the terminal output to locate any version of Github.com/free5gc/chf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-129: Improper Validation of Array Index, where the product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. In Github.com/free5gc/chf, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32937 Affected Github.com/free5gc/chf Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/free5gc/chf
|
Go |
< 1.2.2
|
1.2.2
|
References
Frequently Asked Questions
What is CVE-2026-32937?
Which Github.com/free5gc/chf versions are affected?
What version fixes CVE-2026-32937?
Is github.com/free5gc/chf affected?
What CWE is associated with CVE-2026-32937?
How can I check Go dependencies for CVE-2026-32937?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6g43-577r-wf4x",
"modified" : "2026-03-20T21:20:37Z",
"published" : "2026-03-18T17:26:27Z",
"aliases" : [ "CVE-2026-32937" ],
"summary" : "Out-of-Bounds Slice Access in free5GC CHF Leading to DoS",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/free5gc/chf"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/free5gc/free5gc/security/advisories/GHSA-6g43-577r-wf4x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32937"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/free5gc/issues/864"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/chf/pull/61"
}, {
"type" : "WEB",
"url" : "https://github.com/free5gc/chf/commit/55af766f321a00afa978e806548c96f8a7d2433e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/free5gc/chf"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-129" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-18T17:26:27Z",
"nvd_published_at" : "2026-03-20T03:16:00Z"
}
}