CVEbaza.plCWE DictionaryCWE-478
Common Weakness Enumeration

CWE-478

Missing Default Case in Multiple Condition Expression

Category: BaseCVE: 1
Description

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

Extended Description

If a multiple-condition expression (such as a switch in C) omits the default case but does not consider or handle all possible values that could occur, then this might lead to complex logical errors and resultant weaknesses. Because of this, further decisions are made based on poor information, and cascading failure results. This cascading failure may result in any number of security issues, and constitutes a significant failure in the system.

CVE vulnerabilities with CWE-478 (1)
8.7
CVSS
HIGH
CVE-2026-33064

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.

pub. 2026-03-20
Information
ID: CWE-478
Type: Base
Vulnerabilities: 1
MITRE CWE ↗
← CWE Dictionary