CVE-2026-44317
MEDIUM 6.5CVSS 3.1free5GC's PCF npcf-policyauthorization POST /app-sessions panics on suppFeat=1 with missing AfRoutReq via nil pointer dereference
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.
- Published
- 27 May 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-476CWE-754
- Also known as
- GHSA-wwqh-7jm5-gj7wGO-2026-5731
- Sources
- NVDJSONOSV GHSA-wwqh-7jm5-gj7wJSONOSV GO-2026-5731JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | free5gc | free5gccpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:* |
< 4.2.2 | 4.2.2 |
| OSV | Go | github.com/free5gc/pcf | < 1.4.3 | 1.4.3 |
References
- https://github.com/free5gc/free5gc/issues/879 · Exploit, Issue Tracking, WEB
- https://github.com/free5gc/free5gc/security/advisories/GHSA-wwqh-7jm5-gj7w · Exploit, Vendor Advisory, WEB, ADVISORY
- https://github.com/free5gc/pcf/commit/508d70b8527a6c8c923179dad450ea01e16b6aeb · Patch, WEB, FIX
- https://github.com/free5gc/pcf/pull/65 · Issue Tracking, Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2026-44317 · ADVISORY
- https://github.com/free5gc/free5gc · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 May 2026)