CVE-2024-14042: Stack-based Buffer Overflow in Open5GS
A vulnerability was found in Open5GS up to 2.7.1. This affects the function hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb of the file src/hss/hss-s6a-path.c of the component Diameter S6a Interface. Performing a manipulation of the argument os.len results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 2.7.2 is able to mitigate this issue. The patch is named e89aa79efe629ae90f59dcdf8847c117d9a7da86. It is suggested to upgrade the affected component.
AI Analysis
Technical Summary
CVE-2024-14042 affects Open5GS versions up to 2.7.1 in the functions hss_ogs_diam_s6a_air_cb and hss_ogs_diam_s6a_ulr_cb within src/hss/hss-s6a-path.c. The vulnerability is a stack-based buffer overflow caused by manipulation of the argument os.len. This flaw can be exploited remotely. A patch identified by commit e89aa79efe629ae90f59dcdf8847c117d9a7da86 is available in version 2.7.2 to address this issue.
Potential Impact
Successful exploitation can lead to a stack-based buffer overflow, potentially causing denial of service or limited information disclosure. The CVSS 3.1 base score is 6.3 (medium severity) with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impacts on confidentiality, integrity, and availability. Exploit code is publicly available, increasing the risk of exploitation.
Mitigation Recommendations
Upgrade Open5GS to version 2.7.2 or later, which includes the official patch (commit e89aa79efe629ae90f59dcdf8847c117d9a7da86) that fixes the stack-based buffer overflow vulnerability. No other mitigations are specified by the vendor advisory.
CVE-2024-14042: Stack-based Buffer Overflow in Open5GS
Description
A vulnerability was found in Open5GS up to 2.7.1. This affects the function hss_ogs_diam_s6a_air_cb/hss_ogs_diam_s6a_ulr_cb of the file src/hss/hss-s6a-path.c of the component Diameter S6a Interface. Performing a manipulation of the argument os.len results in stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been made public and could be used. Upgrading to version 2.7.2 is able to mitigate this issue. The patch is named e89aa79efe629ae90f59dcdf8847c117d9a7da86. It is suggested to upgrade the affected component.
CVSS v4.0
Score 5.3medium
Affected software
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
CVE-2024-14042 affects Open5GS versions up to 2.7.1 in the functions hss_ogs_diam_s6a_air_cb and hss_ogs_diam_s6a_ulr_cb within src/hss/hss-s6a-path.c. The vulnerability is a stack-based buffer overflow caused by manipulation of the argument os.len. This flaw can be exploited remotely. A patch identified by commit e89aa79efe629ae90f59dcdf8847c117d9a7da86 is available in version 2.7.2 to address this issue.
Potential Impact
Successful exploitation can lead to a stack-based buffer overflow, potentially causing denial of service or limited information disclosure. The CVSS 3.1 base score is 6.3 (medium severity) with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impacts on confidentiality, integrity, and availability. Exploit code is publicly available, increasing the risk of exploitation.
Mitigation Recommendations
Upgrade Open5GS to version 2.7.2 or later, which includes the official patch (commit e89aa79efe629ae90f59dcdf8847c117d9a7da86) that fixes the stack-based buffer overflow vulnerability. No other mitigations are specified by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-82w6-qmfj-h49g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2024-14042"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7c9b70bf8831d539ce0301
Added to database: 08/12/2026, 16:12:32 UTC
Last enriched: 08/12/2026, 17:25:37 UTC
Last updated: 09/25/2026, 01:47:36 UTC
Views: 56
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.