CVE-2026-44322

free5GC: NEF 3gpp-pfd-management PATCH applications/{appId} panics on UDR access failure due to nil ProblemDetails dereference

Published May 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's NEF PATCH /3gpp-pfd-management/v1/{afId}/transactions/{transId}/applications/{appId} handler panics with a nil-pointer dereference when the upstream UDR call fails AND the consumer wrapper returns err != nil together with a nil *ProblemDetails. The handler's errPfdData != nil branch builds its own problemDetailsErr correctly, but immediately after it reads problemDetails.Cause (the OTHER value, which is nil in this branch) and panics. Gin recovery converts the panic into HTTP 500, so a single PATCH against this endpoint returns 500 instead of the intended controlled error response whenever UDR access is failing. This vulnerability is fixed in 4.2.2.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the NEF PATCH /3gpp-pfd-management/v1/{afId}/transactions/{transId}/applications/{appId} handler of free5GC prior to version 4.2.2. When an upstream UDR call fails and the consumer wrapper returns an error together with a nil ProblemDetails object, the handler dereferences a nil value. This triggers a panic that, through Gin recovery, results in an HTTP 500 response instead of a controlled error. The flaw does not allow code execution but causes a denial of service by crashing the application. The weakness is a null pointer dereference (CWE-476) and use of a nil member of a null reference (CWE-754).

Affected Systems

The affected product is free5GC, an open‑source 5G core network implementation, specifically its NEF component. Versions prior to 4.2.2 are vulnerable. Upgrades to 4.2.2 or later contain the fix.

Risk and Exploitability

This flaw carries a CVSS base score of 7.5, indicating a high risk with potential impact on availability. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it by sending crafted HTTP PATCH requests to the vulnerable endpoint from any host that can reach the NEF service, triggering a crash whenever the underlying UDR service is unavailable. The CVSS score reflects that the vulnerability is exploitable without needing privileged local access, but it does not provide additional privileges or confidentiality compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade free5GC to v4.2.2 or newer to apply the fixed handler code
  • Ensure that the UDR service is reliably reachable or configure a health‑check; if failures are unavoidable, temporarily restrict external access to the NEF endpoint to prevent service disruption
  • Monitor application logs for panic traces and HTTP 500 responses. If the issue recurs, consider applying local patchwork such as checking for nil ProblemDetails before dereferencing in downstream code

Generated by OpenCVE AI on May 27, 2026 at 19:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j59f-x285-69jx free5GC's NEF 3gpp-pfd-management PATCH applications/{appId} panics on UDR access failure due to nil ProblemDetails dereference
History
Type Values Removed Values Added
CPEs cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Free5gc
Free5gc free5gc
Vendors & Products Free5gc
Free5gc free5gc
Type Values Removed Values Added
Description free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's NEF PATCH /3gpp-pfd-management/v1/{afId}/transactions/{transId}/applications/{appId} handler panics with a nil-pointer dereference when the upstream UDR call fails AND the consumer wrapper returns err != nil together with a nil *ProblemDetails. The handler's errPfdData != nil branch builds its own problemDetailsErr correctly, but immediately after it reads problemDetails.Cause (the OTHER value, which is nil in this branch) and panics. Gin recovery converts the panic into HTTP 500, so a single PATCH against this endpoint returns 500 instead of the intended controlled error response whenever UDR access is failing. This vulnerability is fixed in 4.2.2.
Title free5GC: NEF 3gpp-pfd-management PATCH applications/{appId} panics on UDR access failure due to nil ProblemDetails dereference
Weaknesses CWE-476
CWE-754
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 28, 2026, 2:42 PM
Reserved
May 5, 2026, 7:00 PM
Status
Analyzed
Published
May 27, 2026, 5:16 PM
Modified
Oct 14, 2026, 8:10 PM