| Titolo | Open5GS v2.7.2 Memory Corruption |
|---|
| Descrizione | Open5GS v2.7.2 is affected by a stack-based buffer overflow in open5gs-pcrfd over the Diameter Rx interface. The vulnerability exists in the handling of Diameter AA-Request (AAR) messages in src/pcrf/pcrf-rx-path.c. When open5gs-pcrfd processes a crafted Rx AAR message containing excessive Media-Component-Description or Media-Sub-Component AVPs, the indexes rx_message.ims_data.num_of_media_component and media_component->num_of_sub can overflow. These indexes are then used to select entries in fixed-size stack-based arrays without sufficient bounds checking. As a result, a crafted Diameter Rx message can move a write pointer outside the intended stack object and overwrite stack memory with attacker-controlled 4-byte values. An attacker with network access to the Diameter Rx listener can send a crafted AAR message to trigger stack memory corruption in open5gs-pcrfd. This may result in process termination and denial of service, and may have additional impact depending on build configuration and runtime protections. |
|---|
| Fonte | ⚠️ https://github.com/open5gs/open5gs/issues/3157 |
|---|
| Utente | WeiYi (UID 96864) |
|---|
| Sottomissione | 24/06/2026 08:47 (2 mesi fa) |
|---|
| Moderazione | 09/08/2026 19:50 (2 months later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 387282 [Open5GS fino a 2.7.1 Diameter Rx src/pcrf/pcrf-rx-path.c pcrf_rx_aar_cb num_of_media_component/num_of_sub buffer overflow] |
|---|
| Punti | 20 |
|---|