Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain authenticated Diameter peer access on S6a interface
-
DeliveryCraft AIR with Visited-PLMN-Id AVP of incorrect length
-
ExploitSubmit malformed request to HSS S6a handler
-
ExecutionBypass absent length validation in hss_ogs_diam_s6a_air_cb
-
PersistTrigger heap buffer overflow in ogs_auc_kasme call
-
ImpactCrash HSS process or achieve code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to establish a Diameter S6a connection to the HSS with low-privilege Diameter peer credentials (PR:L per the supplied CVSS 4.0 vector), which in practice means having network access to the EPC's internal signaling plane - typically not reachable from the public internet. The triggering condition is sending an AIR message with a Visited-PLMN-Id AVP where |
| Impact | The supplied CVSS 4.0 score of 2.1 with uniformly low impact metrics (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L) appears understated relative to a heap overflow in a core authentication component; the low score reflects the constrained deployment context rather than inherent exploitability - PR:L requires Diameter peer credentials, which are not publicly obtainable. No EPSS value was included in the intelligence package, so exploitation probability cannot be numerically quantified. The E:P threat modifier in the provided CVSS 4.0 vector confirms proof-of-concept material exists, distinguishing this from a purely theoretical flaw; however, no CISA KEV listing was referenced, so confirmed active exploitation remains unsubstantiated. The subsequent-system impact indicators (SC:L/SI:L/SA:L) are plausible given the HSS's role as the authentication oracle - a crash or compromise propagates authentication failures to all connected MMEs. Practically, even a mid-sized municipal IT team in boleslawiec running a private LTE network on Open5GS should treat this as a medium-priority patch given the available PoC, despite the low CVSS score, because the HSS is a single point of failure for subscriber authentication. The primary limiting factor is the requirement for Diameter S6a network access, which is an internal, non-internet-exposed interface in any standards-compliant deployment. |
| Exploit ScenarioDerived | An attacker with access to the core network Diameter segment - such as a compromised MME, a rogue signaling node inserted via SS7/Diameter interconnect, or a malicious insider - establishes a Diameter S6a connection to the Open5GS HSS and sends a crafted Authentication-Information-Request containing a Visited-PLMN-Id AVP whose octet-string length exceeds the expected 3-byte |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Heap-based buffer overflow in Open5GS 2.8.0's HSS S6a Authentication-Information-Request handler allows network-adjacent authenticated Diameter peers to corrupt process heap memory by supplying a malformed Visited-PLMN-Id AVP with an incorrect octet-string length. The vulnerable function hss_ogs_diam_s6a_air_cb in src/hss/hss-s6a-path.c passes raw AVP data to cryptographic key derivation (ogs_auc_kasme) without first validating that the PLMN identifier length matches the expected 3-byte constant OGS_PLMN_ID_LEN. No active exploitation is confirmed (no CISA KEV listing), but a proof-of-concept signal is present in the CVSS 4.0 threat metric (E:P); an upstream fix commit is available though a formally tagged patched release is not independently confirmed.
RemediationAI
Apply upstream fix commit a9c82ee0b590d76a581b0580cb46b598984e2392 from https://github.com/open5gs/open5gs/commit/a9c82ee0b590d76a581b0580cb46b598984e2392 - a specific tagged release version incorporating this commit is not independently confirmed from the available data, so operators should monitor the Open5GS GitHub repository for a formal release or apply the commit directly to their build. As a compensating control where immediate patching is not feasible, restrict Diameter S6a interface connectivity to known, explicitly authorized MME peers using host/realm-based Diameter filtering or transport-layer ACLs on Diameter ports (3868/TCP and SCTP); this reduces the attack surface to already-trusted peers but does not eliminate risk from a compromised legitimate peer. Additionally, deploying IDS rules to detect AIR messages carrying Visited-PLMN-Id AVPs with lengths outside the expected 3-byte value can provide early warning. Monitoring HSS process stability for unexpected crashes (which would surface as authentication outages) is a detection measure. No known workaround fully neutralizes the vulnerability short of patching or disabling the S6a AIR handler.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Open5GS is an open-source C implementation of the 3GPP 4G Evolved Packet Core (EPC) and 5G core network, widely used in research labs, private LTE deployments, and telecom prototyping. The affected component is the HSS (Home Subscriber Server), which handles subscriber authentication and profile retrieval via the Diameter-based S6a interface (3GPP TS 29.272) toward the MME. Authentication-Information-Requests (AIR) carry the Visited-PLMN-Id AVP - a fixed 3-byte Public Land Mobile Network identifier used during roaming. The root cause (CWE-119, Improper Restriction of Operations within Memory Buffer Bounds) is that the original code used ogs_min(hdr->avp_value->os.len, sizeof(visited_plmn_id)) for the copy length but then passed the raw, unvalidated hdr->avp_value->os.data pointer directly to ogs_auc_kasme(), bypassing the min-guard and allowing a heap region to be overread or overwritten if the AVP carries more data than OGS_PLMN_ID_LEN. The fix (commit a9c82ee0b590d76a581b0580cb46b598984e2392) adds an explicit pre-check that rejects any AIR where the PLMN-Id octet string is absent or its length differs from OGS_PLMN_ID_LEN, returning OGS_DIAM_INVALID_AVP_VALUE and aborting processing before the dangerous memory operation.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
Network-reachable Diameter interface but requires low-privilege peer authentication (PR:L); impact capped at low across C/I/A consistent with CVSS 4.0 source data.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in Open5GS 2.8.0. Affected by this issue is the function hss_ogs_diam_s6a_air_cb of the file src/hss/hss-s6a-path.c of the component S6a Authentication-Information-Request Handler. Such manipulation of the argument Visited-PLMN-Id leads to heap-based buffer overflow. The attack may be performed from remote. The name of the patch is a9c82ee0b590d76a581b0580cb46b598984e2392. A patch should be applied to remediate this issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-64674
GHSA-r7gh-36fg-wvj8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB