| Título | Open5GS v2.7.2 Memory Corruption |
|---|
| Descripción | Open5GS v2.7.2 is affected by a stack-based buffer overflow in open5gs-hssd over the Diameter S6a interface. The vulnerability exists in the handling of Diameter Update-Location-Request (ULR) and Authentication-Information-Request (AIR) messages. When open5gs-hssd processes a crafted S6a AIR or ULR message containing an oversized Visited-PLMN-Id AVP, the code copies hdr->avp_value->os.data into the fixed-size stack variable visited_plmn_id using hdr->avp_value->os.len as the copy length. Because the AVP length is not checked against the destination object size before memcpy(), a malformed Diameter message can corrupt the stack. An attacker with network access to the Diameter S6a listener can send a crafted AIR or ULR message to trigger stack memory corruption in open5gs-hssd. This may result in process termination and denial of service, and may have additional impact depending on build configuration and runtime protections.
The issue was publicly reported to the Open5GS project in GitHub issue #3155 and fixed through pull request #3180. Open5GS v2.7.2 release notes list this as a security fix: "[SEC] Stack overflow in open5gs-hssd/s6a (#3155)". No public CVE identifier is known for this issue at the time of submission. |
|---|
| Fuente | ⚠️ https://github.com/open5gs/open5gs/issues/3155 |
|---|
| Usuario | WeiYi (UID 96864) |
|---|
| Sumisión | 2026-06-24 08:43 (hace 2 meses) |
|---|
| Moderación | 2026-08-09 19:46 (2 months later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 387280 [Open5GS hasta 2.7.1 Diameter S6a Interface src/hss/hss-s6a-path.c hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb os.len desbordamiento de búfer] |
|---|
| Puntos | 20 |
|---|