CVE-2024-14042: Stack-based Buffer Overflow in Open5GS
CVE-2024-14042 is a stack-based buffer overflow vulnerability in Open5GS versions 2.7.0 and 2.7.1 affecting the Diameter S6a Interface component. The flaw occurs due to improper handling of the os.len argument in specific callback functions, allowing remote attackers to trigger the overflow. A public exploit exists. Upgrading to Open5GS version 2.7.2 mitigates this issue.
AI Analysis
Technical Summary
This vulnerability in Open5GS up to version 2.7.1 involves a stack-based buffer overflow in the functions hss_ogs_diam_s6a_air_cb and hss_ogs_diam_s6a_ulr_cb within the src/hss/hss-s6a-path.c file. The issue arises from manipulation of the os.len argument leading to memory corruption on the stack. The vulnerability is remotely exploitable without user interaction and has a CVSS 4.0 score of 5.3 (medium severity). A patch identified by commit e89aa79efe629ae90f59dcdf8847c117d9a7da86 is available in version 2.7.2.
Potential Impact
Successful exploitation can cause a stack-based buffer overflow, potentially leading to application crashes or arbitrary code execution within the context of the Open5GS process. The vulnerability is remotely exploitable without authentication or user interaction, increasing its risk. However, the CVSS score indicates medium severity with limited complexity and privileges required.
Mitigation Recommendations
Upgrade Open5GS to version 2.7.2 or later, which contains the official patch (commit e89aa79efe629ae90f59dcdf8847c117d9a7da86) addressing this vulnerability. No other mitigations are specified. Patch status is confirmed by the vendor advisory information.
CVE-2024-14042: Stack-based Buffer Overflow in Open5GS
Description
CVE-2024-14042 is a stack-based buffer overflow vulnerability in Open5GS versions 2.7.0 and 2.7.1 affecting the Diameter S6a Interface component. The flaw occurs due to improper handling of the os.len argument in specific callback functions, allowing remote attackers to trigger the overflow. A public exploit exists. Upgrading to Open5GS version 2.7.2 mitigates this issue.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/open5gs/open5gscpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Open5GS up to version 2.7.1 involves a stack-based buffer overflow in the functions hss_ogs_diam_s6a_air_cb and hss_ogs_diam_s6a_ulr_cb within the src/hss/hss-s6a-path.c file. The issue arises from manipulation of the os.len argument leading to memory corruption on the stack. The vulnerability is remotely exploitable without user interaction and has a CVSS 4.0 score of 5.3 (medium severity). A patch identified by commit e89aa79efe629ae90f59dcdf8847c117d9a7da86 is available in version 2.7.2.
Potential Impact
Successful exploitation can cause a stack-based buffer overflow, potentially leading to application crashes or arbitrary code execution within the context of the Open5GS process. The vulnerability is remotely exploitable without authentication or user interaction, increasing its risk. However, the CVSS score indicates medium severity with limited complexity and privileges required.
Mitigation Recommendations
Upgrade Open5GS to version 2.7.2 or later, which contains the official patch (commit e89aa79efe629ae90f59dcdf8847c117d9a7da86) addressing this vulnerability. No other mitigations are specified. Patch status is confirmed by the vendor advisory information.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-09T17:45:47.671Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b779fbf8831d5394b3fed
Added to database: 08/11/2026, 19:27:27 UTC
Last enriched: 08/11/2026, 19:43:51 UTC
Last updated: 08/11/2026, 22:01:35 UTC
Views: 3
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.