CVE-2022-38871 Free5gc vulnerable to uncontrolled resource consumption
Attackers can cause a denial of service in the AMF component of Free5gc by sending malformed NAS messages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-38871?
CVE-2022-38871 is a high-severity denial of service vulnerability in Free5gc Free5gc, published on 18 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Free5gc v3.0.5, the AMF breaks due to malformed NAS messages.
Weakness: CWE-400
Which versions are affected by CVE-2022-38871?
2 open source packages ship an affected version, including github.com/free5gc/free5gc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/free5gc/free5gc Go | All versions | None |
github.com/free5gc/free5gc Go | All versions | None |
Products include Free5gc Free5gc.
How do I fix CVE-2022-38871?
No fix has been published for CVE-2022-38871 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-38871 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38871 exists.
Other vulnerabilities in Free5gc Free5gc
- CVE-2026-44327 free5GC: NEF nnef-oam route group is unauthenticated; no-token requests reach the OAM handler
- CVE-2026-44329 free5GC's SMF UPI management interface lacks auth middleware; unauthenticated topology read/write requests reach handlers
- CVE-2026-44330 free5GC's NEF nnef-pfdmanagement API is unauthenticated; forged bearer tokens can read PFD data and create/delete PFD subscriptions
- CVE-2025-63679 Memory corruption in n/a
- CVE-2026-44315 free5GC's NEF 3gpp-pfd-management API is unauthenticated; forged bearer tokens can create, read, and delete PFD transactions
Sources
Also known as GHSA-m74x-fxjh-3qh9.