Open5GS NULL Pointer Dereference Vulnerability Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in Open5GS version 2.7.5. The issue arises in the Service-Based Interface (SBI) of multiple network functions, including AMF, AUSF, BSF, NRF, NSSF, PCF, SMF, UDM, and UDR. The vulnerability is caused by the 'parse_multipart' function in 'lib/sbi/message.c', which improperly handles 'multipart/related' HTTP POST requests with empty bodies. This oversight leads to a NULL pointer dereference, causing a segmentation fault and crashing the affected service.

Impact

Exploitation of this vulnerability causes a segmentation fault, leading to a crash of the affected SBI service.

Reproduction

The vulnerability can be reproduced by sending a 'multipart/related' HTTP POST request with an empty body to the SBI endpoints of the affected network functions. This can be done using a crafted Rust program that connects to the appropriate addresses and ports of the Open5GS components.

Remediation

Users can update to Open5GS version 2.7.6 or later, where this vulnerability has been fixed.

Added: Sep 17, 2025, 2:20 PM
Updated: Sep 17, 2025, 4:58 PM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
2.5
exploitability
9.1
remediation
7.7
relevance
0.5
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.