| 제목 | Open5GS v2.7.2 Memory Corruption |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://github.com/open5gs/open5gs/issues/3157 |
|---|
| 사용자 | WeiYi (UID 96864) |
|---|
| 제출 | 2026. 06. 24. AM 08:47 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 08. 09. PM 07:50 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 387282 [Open5GS 까지 2.7.1 Diameter Rx src/pcrf/pcrf-rx-path.c pcrf_rx_aar_cb num_of_media_component/num_of_sub 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|