free5GC: 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-44317
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 20:27 UTC · Revision 1
Source evidence
free5GC: PCF npcf-policyauthorization POST /app-sessions panics on suppFeat=1 with missing AfRoutReq via nil pointer dereference
core-osv · Original sourcePublished 27 May 2026, 15:50 UTC
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.
osv:CVE-2026-44317
Complete source record
{
"id": "0a9bbfbe5129dd9b4119eea05f37a372525932a0a937150850590f3a40dbafcf",
"url": "https://osv.dev/vulnerability/CVE-2026-44317",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "free5GC: PCF npcf-policyauthorization POST /app-sessions panics on suppFeat=1 with missing AfRoutReq via nil pointer dereference",
"summary": "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.",
"evidence": "osv:CVE-2026-44317",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-44317",
"aliases": [
"CVE-2026-44317",
"GHSA-wwqh-7jm5-gj7w",
"GO-2026-5731"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/free5gc/free5gc",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8b0f4445fc931638fb624463ce3572a203517679"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.2.2"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/free5gc/pcf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "508d70b8527a6c8c923179dad450ea01e16b6aeb"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "508d70b8527a6c8c923179dad450ea01e16b6aeb"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:51.853322849Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44317.json",
"https://github.com/free5gc/free5gc/security/advisories/GHSA-wwqh-7jm5-gj7w",
"https://nvd.nist.gov/vuln/detail/CVE-2026-44317",
"https://github.com/free5gc/free5gc/issues/879",
"https://github.com/free5gc/pcf/commit/508d70b8527a6c8c923179dad450ea01e16b6aeb",
"https://github.com/free5gc/pcf/pull/65"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476",
"CWE-754"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44317.json"
}
},
"related_cves": [
{
"value": "CVE-2026-44317",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520306,
"published_at": "2026-05-27T15:50:18.242+00:00"
}