CVE-2025-15555: Stack-based Buffer Overflow in Open5GS
A security flaw has been discovered in Open5GS up to 2.7.6. Affected by this vulnerability is the function hss_ogs_diam_cx_mar_cb of the file src/hss/hss-cx-path.c of the component VoLTE Cx-Test. The manipulation of the argument OGS_KEY_LEN results in stack-based buffer overflow. The attack may be launched remotely. The patch is identified as 54dda041211098730221d0ae20a2f9f9173e7a21. A patch should be applied to remediate this issue.
AI Analysis
Technical Summary
CVE-2025-15555 is a security vulnerability found in Open5GS, an open-source implementation of the 5G core network. The issue exists in the function hss_ogs_diam_cx_mar_cb located in the src/hss/hss-cx-path.c file, which is part of the VoLTE Cx-Test component. The vulnerability is a stack-based buffer overflow triggered by manipulation of the OGS_KEY_LEN argument, which controls the length of a buffer on the stack. Because the input length is not properly validated, an attacker can supply a crafted argument that causes the function to write beyond the allocated stack buffer boundaries. This type of overflow can corrupt adjacent memory, potentially allowing an attacker to crash the service (denial of service) or execute arbitrary code with the privileges of the Open5GS process. The vulnerability can be exploited remotely without requiring authentication or user interaction, increasing its risk profile. The flaw affects all Open5GS versions from 2.7.0 through 2.7.6. The developers have released a patch (commit 54dda041211098730221d0ae20a2f9f9173e7a21) to fix the issue by properly validating the OGS_KEY_LEN argument and preventing buffer overflow. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability, resulting in a medium severity rating. No public exploits or active exploitation campaigns have been reported so far, but the vulnerability poses a significant risk to 5G core network deployments using Open5GS.
Potential Impact
The vulnerability could have serious consequences for organizations deploying Open5GS as part of their 5G core network infrastructure. Exploitation may lead to denial of service by crashing critical network functions, disrupting voice over LTE (VoLTE) and other 5G services. More critically, if exploited for arbitrary code execution, attackers could gain control over the affected network components, potentially intercepting or manipulating sensitive telecommunications data. This could undermine network integrity and confidentiality, impacting service providers and their customers. Given the remote, unauthenticated nature of the exploit, attackers could launch attacks from anywhere on the internet, increasing the threat surface. Disruptions in 5G core networks can have cascading effects on dependent services, including emergency communications, IoT devices, and enterprise connectivity. The lack of known exploits in the wild reduces immediate risk but does not eliminate the potential for future attacks, especially as threat actors often target telecom infrastructure. Organizations failing to patch may face regulatory and reputational damage if exploited.
Mitigation Recommendations
Organizations should immediately apply the official patch identified by commit 54dda041211098730221d0ae20a2f9f9173e7a21 to all affected Open5GS instances running versions 2.7.0 through 2.7.6. Network administrators should audit their Open5GS deployments to confirm version and patch status. Implement network segmentation and firewall rules to restrict access to Open5GS management and signaling interfaces, limiting exposure to untrusted networks. Employ runtime protections such as stack canaries, address space layout randomization (ASLR), and control flow integrity (CFI) where supported to mitigate exploitation impact. Monitor network and system logs for unusual activity or crashes related to the hss_ogs_diam_cx_mar_cb function. Conduct regular vulnerability assessments and penetration tests focused on telecom infrastructure components. Maintain an incident response plan tailored to telecom network compromises. Engage with Open5GS community and security advisories for updates on emerging threats or additional patches.
Affected Countries
United States, China, South Korea, Japan, Germany, France, United Kingdom, India, Brazil, Italy, Canada, Australia, Russia, Singapore, United Arab Emirates
CVE-2025-15555: Stack-based Buffer Overflow in Open5GS
Description
A security flaw has been discovered in Open5GS up to 2.7.6. Affected by this vulnerability is the function hss_ogs_diam_cx_mar_cb of the file src/hss/hss-cx-path.c of the component VoLTE Cx-Test. The manipulation of the argument OGS_KEY_LEN results in stack-based buffer overflow. The attack may be launched remotely. The patch is identified as 54dda041211098730221d0ae20a2f9f9173e7a21. A patch should be applied to remediate this issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-15555 is a security vulnerability found in Open5GS, an open-source implementation of the 5G core network. The issue exists in the function hss_ogs_diam_cx_mar_cb located in the src/hss/hss-cx-path.c file, which is part of the VoLTE Cx-Test component. The vulnerability is a stack-based buffer overflow triggered by manipulation of the OGS_KEY_LEN argument, which controls the length of a buffer on the stack. Because the input length is not properly validated, an attacker can supply a crafted argument that causes the function to write beyond the allocated stack buffer boundaries. This type of overflow can corrupt adjacent memory, potentially allowing an attacker to crash the service (denial of service) or execute arbitrary code with the privileges of the Open5GS process. The vulnerability can be exploited remotely without requiring authentication or user interaction, increasing its risk profile. The flaw affects all Open5GS versions from 2.7.0 through 2.7.6. The developers have released a patch (commit 54dda041211098730221d0ae20a2f9f9173e7a21) to fix the issue by properly validating the OGS_KEY_LEN argument and preventing buffer overflow. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability, resulting in a medium severity rating. No public exploits or active exploitation campaigns have been reported so far, but the vulnerability poses a significant risk to 5G core network deployments using Open5GS.
Potential Impact
The vulnerability could have serious consequences for organizations deploying Open5GS as part of their 5G core network infrastructure. Exploitation may lead to denial of service by crashing critical network functions, disrupting voice over LTE (VoLTE) and other 5G services. More critically, if exploited for arbitrary code execution, attackers could gain control over the affected network components, potentially intercepting or manipulating sensitive telecommunications data. This could undermine network integrity and confidentiality, impacting service providers and their customers. Given the remote, unauthenticated nature of the exploit, attackers could launch attacks from anywhere on the internet, increasing the threat surface. Disruptions in 5G core networks can have cascading effects on dependent services, including emergency communications, IoT devices, and enterprise connectivity. The lack of known exploits in the wild reduces immediate risk but does not eliminate the potential for future attacks, especially as threat actors often target telecom infrastructure. Organizations failing to patch may face regulatory and reputational damage if exploited.
Mitigation Recommendations
Organizations should immediately apply the official patch identified by commit 54dda041211098730221d0ae20a2f9f9173e7a21 to all affected Open5GS instances running versions 2.7.0 through 2.7.6. Network administrators should audit their Open5GS deployments to confirm version and patch status. Implement network segmentation and firewall rules to restrict access to Open5GS management and signaling interfaces, limiting exposure to untrusted networks. Employ runtime protections such as stack canaries, address space layout randomization (ASLR), and control flow integrity (CFI) where supported to mitigate exploitation impact. Monitor network and system logs for unusual activity or crashes related to the hss_ogs_diam_cx_mar_cb function. Conduct regular vulnerability assessments and penetration tests focused on telecom infrastructure components. Maintain an incident response plan tailored to telecom network compromises. Engage with Open5GS community and security advisories for updates on emerging threats or additional patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-02-02T19:02:29.323Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6983afd5f9fa50a62fabdb1f
Added to database: 2/4/2026, 8:45:09 PM
Last enriched: 2/23/2026, 9:46:46 PM
Last updated: 3/23/2026, 9:49:50 PM
Views: 34
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.