CVE-2026-44316

free5GC: PCF npcf-smpolicycontrol POST /sm-policies panics on downstream UDR/OpenAPI 404 via nil pointer dereference

7.5 high EPSS 0.40%

Published 27 May 2026 Updated 27 May 2026 CNA: GitHub_M

Check your servers for CVE-2026-44316

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-44316 affects free5gc, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's PCF POST /npcf-smpolicycontrol/v1/sm-policies handler (HandleCreateSmPolicyRequest) panics with a nil-pointer dereference when a downstream OpenAPI consumer call (UDR lookup) returns 404 Not Found and the consumer wrapper returns err != nil together with a nil response struct. The handler logs the OpenAPI error and continues executing instead of returning, then dereferences the nil response struct on a subsequent line and panics. Gin recovery converts the panic into HTTP 500, so a single attacker-shaped POST returns 500 instead of a clean 4xx whenever the downstream lookup fails. The PCF process keeps running. The trigger is a single POST containing input that causes the downstream UDR lookup to fail (e.g. an unknown DNN). In 4.2.1 this endpoint is also reachable WITHOUT an Authorization header because the PCF Npcf_SMPolicyControl route group is mounted without inbound auth middleware. This vulnerability is fixed in 4.2.2.

Severity (CVSS)

7.5 high CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 27 May 2026):

Exploitation
poc: a proof of concept is public
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-476 NULL Pointer Dereference
  • CWE-754 Improper Check for Unusual or Exceptional Conditions

Affected products

As the CNA lists them.

ProductVersions
free5gc
affected < 4.2.2

Is my server affected?

Find the installed version of free5gc and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i free5gc
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-44316 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-44316

RHEL, Rocky, Alma, Fedora

rpm -q free5gc
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-44316

Alpine

apk list --installed | grep -i free5gc

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-44316
trivy image --scanners vuln IMAGE | grep CVE-2026-44316

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Exploits and proof of concept

Other references

Source: the record CVE-2026-44316 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.