# CVE-2026-30051: free5gc AMF denial of service via crafted UE context request

Source: https://junglewise.ai/threats/cve-2026-30051-free5gc-amf-denial-of-service-via-crafted-ue-context-request  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-27. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-30051 · Severity: high · CVSS 7.5 · Published 2026-08-27

free5gc is an open-source 5G Core Network implementation used for research and telecommunications deployments. The AMF (Access and Mobility Management Function) component crashes when receiving a specially crafted request that omits or empties the RestrictedRatList field, causing service interruption and potential network unavailability for connected users.

Technologies: [free5GC](https://junglewise.ai/threats/technologies/free5gc). Vendors: [free5GC](https://junglewise.ai/threats/vendors/free5gc).

## Quick answers

**Is CVE-2026-30051 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-30051 being exploited in the wild.

**How severe is CVE-2026-30051?** High severity, with a CVSS score of 7.5, published 27 August 2026.

**Which products and versions are affected?** free5GC v4.1.0.

**Is there a fix for CVE-2026-30051?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-30051 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-30051?** Check whether you run free5GC at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A missing bounds check in the CreateUEContextProcedure function (/namf-comm/v1/ue-contexts/{supi} endpoint) causes an out-of-bounds array access panic. The vulnerable code attempts to read ueContextCreateData.UeContext.RestrictedRatList[0] without verifying the array contains elements. An unauthenticated attacker can send a PUT request with an empty or omitted RestrictedRatList field, triggering a runtime panic that crashes the AMF process. The attack requires network access to the AMF service port (typically 8000) but does not require authentication. Fix: upgrade to patched version or validate RestrictedRatList length before indexing.

## Affected products

- free5gc free5gc v4.1.0

## Timeline

- 2026-01-06: disclosed
- 2026-08-27: advisory

## References

- [https://github.com/free5gc/free5gc/issues/775](https://github.com/free5gc/free5gc/issues/775)

## Related threats

- [Free5GC SMF resource exhaustion in PFCP session establishment](https://junglewise.ai/threats/cve-2026-106805-a-resource-exhaustion-issue-exists-in-free5gc-v4-2-3-during-pfcp)
- [Free5GC race condition in GMM handler RanUe context access](https://junglewise.ai/threats/cve-2026-94043-a-vulnerability-was-determined-in-free5gc-up-to-4-2-3-this)
- [Free5GC UPF nil pointer dereference in PFCP Session Report](https://junglewise.ai/threats/cve-2026-75439-free5gc-upf-nil-pointer-dereference-in-pfcp-session-report)
- [free5GC NRF input validation bypass in NF profile registration](https://junglewise.ai/threats/cve-2026-55068-free5gc-nrf-input-validation-bypass-in-nf-profile-registration)
- [free5gc NSSF nil pointer dereference in NssaiAvailabilitySubscriptionCreate](https://junglewise.ai/threats/cve-2026-30073-free5gc-nssf-nil-pointer-dereference-in)
