CVE-2025-60638 NSSF panic due to nil pointer dereference when expiry field is omitted in NSSAIAvailability POST
Attackers can cause denial of service in Free5GC by sending crafted POST requests to the NnSSF API, affecting 5G core network availability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-60638?
CVE-2025-60638 is a high-severity denial of service vulnerability in Free5gc Free5gc, published on 24 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Free5GC v4.0.0 and v4.0.1 allowing an attacker to cause a denial of service via crafted POST request to the Nnssf_NSSAIAvailability API.
Weakness: CWE-400
Which versions are affected by CVE-2025-60638?
3 open source packages ship an affected version, including github.com/free5gc/nssf. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/free5gc/nssf Go | All versions | 1.4.0 |
github.com/free5gc/nssf Go | All versions | 1.4.0 |
github.com/free5gc/nssf Go | All versions | 1.4.0 |
Products include Free5gc Free5gc.
How do I fix CVE-2025-60638?
Upgrade github.com/free5gc/nssf to 1.4.0 or later.
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-2025-60638 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-60638 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-f2hj-vpp9-6vm2, GO-2025-4163.