{"id":"CVE-2026-44317","summary":"free5GC: PCF npcf-policyauthorization POST /app-sessions panics on suppFeat=1 with missing AfRoutReq via nil pointer dereference","details":"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.","aliases":["GHSA-wwqh-7jm5-gj7w","GO-2026-5731"],"modified":"2026-07-08T08:13:28.768033174Z","published":"2026-05-27T15:50:18.242Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44317.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-476","CWE-754"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44317.json"},{"type":"ADVISORY","url":"https://github.com/free5gc/free5gc/security/advisories/GHSA-wwqh-7jm5-gj7w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44317"},{"type":"REPORT","url":"https://github.com/free5gc/free5gc/issues/879"},{"type":"FIX","url":"https://github.com/free5gc/pcf/commit/508d70b8527a6c8c923179dad450ea01e16b6aeb"},{"type":"FIX","url":"https://github.com/free5gc/pcf/pull/65"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/free5gc/free5gc","events":[{"introduced":"0"},{"fixed":"8b0f4445fc931638fb624463ce3572a203517679"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"fixed":"4.2.2"}],"cpe":"cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/free5gc/pcf","events":[{"introduced":"0"},{"fixed":"508d70b8527a6c8c923179dad450ea01e16b6aeb"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v4.2.1","v4.2.0","v4.1.0","v4.0.1","v4.0.0","v3.4.5","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.0","v3.2.1","v3.2.0","v3.1.1","v3.1.0","v3.0.7","v3.0.6","v3.0.5","v1.4.2","v1.4.1","v1.4.0","v1.3.2","v1.3.1","v1.3.0","v1.2.7","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44317.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}