The Linux Foundation Magma Buffer Overflow Vulnerability in Protocol Configuration Options Decoding

Vulnerability

A buffer overflow vulnerability has been identified in The Linux Foundation Magma version 1.8.0 and earlier. This issue arises in the 'decode_protocol_configuration_options' function within the file '3gpp_24.008_sm_ies.c'. The vulnerability allows attackers to cause a denial-of-service (DoS) by sending a crafted NAS packet, leading to a service disruption in cellular communications.

Impact

Exploitation of this vulnerability causes a denial-of-service condition, disrupting all cellular communications, including phone calls, messaging, and data services, at a city-wide level.

Reproduction

To reproduce this vulnerability, send an 'Initial UE Message' S1AP packet containing a malformed 'Protocol Configuration Options' field to the AMF. This can be done by establishing a connection to the AMF over the N2 interface and transmitting the crafted packet.

Remediation

Users can upgrade to Magma version 1.9 or later, where this vulnerability has been fixed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
1.4
impact
2.5
exploitability
9.1
remediation
7.7
relevance
0.0
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.