Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32937: CWE-129: Improper Validation of Array Index in free5gc chf

0
High
VulnerabilityCVE-2026-32937cvecve-2026-32937cwe-129
Published: Fri Mar 20 2026 (03/20/2026, 02:43:18 UTC)
Source: CVE Database V5
Vendor/Project: free5gc
Product: chf

Description

CVE-2026-32937 is a high-severity vulnerability in free5GC's CHF component prior to version 1. 2. 2, involving improper validation of array indices leading to out-of-bounds slice access. An authenticated attacker can send a specially crafted PUT request to the recharge endpoint, triggering a server-side panic that results in HTTP 500 errors and potential service disruption. While Gin recovery middleware converts panics into HTTP 500 responses, repeated exploitation can degrade recharge functionality and flood logs. In environments lacking proper panic recovery, the impact may be more severe, including service crashes. Mitigations include restricting access to trusted network functions, applying rate limiting or network ACLs, disabling the recharge API if unused, and ensuring robust panic recovery and monitoring. This vulnerability affects deployments of free5GC CHF in 5G core networks worldwide, especially where the recharge service is exposed. The CVSS 4. 0 score is 7.

AI-Powered Analysis

AILast updated: 03/20/2026, 03:39:21 UTC

Technical Analysis

CVE-2026-32937 is a vulnerability classified under CWE-129 (Improper Validation of Array Index) found in the free5GC open-source 5G core network's CHF (Converged Charging Function) component, specifically in versions prior to 1.2.2. The flaw exists in the `nchf-convergedcharging` service's recharge API endpoint, which handles PUT requests to `/nchf-convergedcharging/v3/recharging/:ueId?ratingGroup=...`. When processing such a request, the server-side function `github.com/free5gc/chf/internal/sbi.(*Server).RechargePut(...)` improperly validates array indices, leading to out-of-bounds slice access. This triggers a runtime panic in Go, which, if unhandled, can crash the service. In typical deployments using the Gin web framework, the panic is caught and converted into an HTTP 500 Internal Server Error response, preventing a full crash but allowing denial-of-service conditions through repeated exploitation. Attackers with valid authentication credentials can exploit this remotely without user interaction, repeatedly triggering the panic to degrade the recharge functionality and flood system logs, potentially impacting the availability of charging services. The vulnerability does not affect confidentiality or integrity directly but poses a significant availability risk. Mitigations include patching to version 1.2.2 or later, restricting access to the recharge endpoint to trusted network functions, implementing rate limiting and network ACLs to limit abuse, disabling the recharge API if not needed, and ensuring panic recovery and monitoring are in place to detect and respond to exploitation attempts. No known exploits are reported in the wild as of publication.

Potential Impact

The primary impact of CVE-2026-32937 is on the availability of the free5GC CHF recharge service, a critical component in 5G core networks responsible for charging and billing functions. Successful exploitation can cause repeated server panics, resulting in HTTP 500 errors and degraded service performance. In environments without proper panic recovery, the vulnerability could lead to full service crashes, causing denial-of-service conditions that disrupt charging operations. This disruption can affect subscriber billing, service continuity, and network operator revenue assurance. Additionally, log flooding may obscure detection of other issues and increase operational overhead. Since the vulnerability requires valid authentication but no user interaction, insider threats or compromised network functions could exploit it. The impact is significant for mobile network operators deploying free5GC CHF, especially those exposing the recharge API externally or lacking robust access controls. While confidentiality and integrity are not directly compromised, the availability degradation can indirectly affect overall network reliability and customer experience.

Mitigation Recommendations

1. Upgrade free5GC CHF to version 1.2.2 or later where the vulnerability is patched. 2. Restrict access to the `/nchf-convergedcharging/v3/recharging/:ueId` endpoint strictly to trusted network functions (NFs) using strong authentication and network segmentation. 3. Implement rate limiting on the recharge API to prevent repeated triggering of the panic, using API gateways or firewall rules. 4. Apply network ACLs or firewall rules to limit exposure of the CHF SBI interface to only authorized internal systems. 5. If the recharge API is not required in the deployment, disable or block external reachability to this endpoint to eliminate the attack surface. 6. Ensure robust panic recovery mechanisms are enabled in the deployment environment to prevent service crashes, including configuring Gin recovery middleware properly. 7. Enable comprehensive monitoring and alerting on the recharge API to detect abnormal request patterns or repeated HTTP 500 errors indicative of exploitation attempts. 8. Conduct regular security audits and penetration testing focused on the CHF recharge service to validate controls and detect potential abuse.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-17T00:05:53.282Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bcbde5e32a4fbe5f2545bc

Added to database: 3/20/2026, 3:24:21 AM

Last enriched: 3/20/2026, 3:39:21 AM

Last updated: 3/20/2026, 4:36:14 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses