CWE-478Base

Missing Default Case in Multiple Condition Expression

Draft in the CWE catalog · 1 CVE mapped

1
CVEs mapped
8.7
Median CVSS
What it is

The code does not have a default case in an expression with multiple conditions, such as a switch statement.

Recent examples
8.7cvss
CVE-2026-33064

free5GC UDM DataChangeNotification Procedure Panic Due to Nil Pointer Dereference

Free5GC is an open-source Linux Foundation project for 5th generation (5G) mobile core networks. Versions prior to 1.4.2 are vulnerable to procedure panic caused by Nil Pointer Dereference in the /sdm-subscriptions endpoint. A remote attacker can cause the UDM service to panic and crash by sending a crafted POST request to the /sdm-subscriptions endpoint with a malformed URL path containing path traversal sequences (../) and a large JSON payload. The DataChangeNotificationProcedure function in notifier.go attempts to access a nil pointer without proper validation, causing a complete service crash with "runtime error: invalid memory address or nil pointer dereference". Exploitation would result in UDM functionality disruption until recovery by restart. This issue has been fixed in version 1.4.2.

HIGHno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-478
Abstraction
Base
Structure
Simple
Status
Draft
References (1)