CVE-2026-44317 free5GC's PCF npcf-policyauthorization POST /app-sessions panics on suppFeat=1 with missing AfRoutReq via nil pointer dereference

Medium 6.5 Published Updated

An authenticated attacker can crash the free5GC PCF service by sending a specific policy authorization request, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44317?

CVE-2026-44317 is a medium-severity vulnerability in Free5gc Free5gc, published on 27 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's PCF POST /npcf-policyauthorization/v1/app-sessions handler panics on a single authenticated request whose ascReqData.suppFeat == "1" (enabling traffic-routing feature negotiation) and whose medComponents entries supply an afAppId but NO AfRoutReq. The create path then calls provisioningOfTrafficRoutingInfo(smPolicy, appID, routeReq, ...) with routeReq == nil and dereferences routeReq.RouteToLocs (and other fields) without a nil check, causing runtime error: invalid memory address or nil pointer dereference. Gin recovery converts the panic into HTTP 500. This vulnerability is fixed in 4.2.2.

Weakness: CWE-754, CWE-476

Which versions are affected by CVE-2026-44317?

3 open source packages ship an affected version, including github.com/free5gc/pcf. It affects 1 product.

PackageAffectedFixed in
github.com/free5gc/pcf GoAll versions1.4.3
github.com/free5gc/pcf GoAll versions1.4.3
github.com/free5gc/pcf GoAll versions1.4.3

Products include Free5gc Free5gc.

How do I fix CVE-2026-44317?

Upgrade github.com/free5gc/pcf to 1.4.3 or later.

Is CVE-2026-44317 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44317 exists.

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-wwqh-7jm5-gj7w, GO-2026-5731.

Is CVE-2026-44317 in your software?

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

Check your SBOMs for free