CVE-2025-60638 NSSF panic due to nil pointer dereference when expiry field is omitted in NSSAIAvailability POST

High 7.5 Published Updated

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.

PackageAffectedFixed in
github.com/free5gc/nssf GoAll versions1.4.0
github.com/free5gc/nssf GoAll versions1.4.0
github.com/free5gc/nssf GoAll versions1.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.

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-f2hj-vpp9-6vm2, GO-2025-4163.

Is CVE-2025-60638 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free