{"id":"CVE-2024-14042","state":"PUBLISHED","title":"Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow","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.","publishedAt":"2026-08-11T19:15:09.514Z","updatedAt":"2026-08-12T16:58:14.188Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","source":"VulDB"},"assigner":"VulDB","products":["n/a Open5GS"],"affected":[{"vendor":"n/a","product":"Open5GS","versions":[{"version":"2.7.0","status":"affected"},{"version":"2.7.1","status":"affected"},{"version":"2.7.2","status":"unaffected"}],"cpes":["cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*"],"modules":["Diameter S6a Interface"]}],"references":["https://vuldb.com/vuln/387280","https://vuldb.com/vuln/387280/cti","https://vuldb.com/cve/CVE-2024-14042","https://vuldb.com/submit/867105","https://github.com/open5gs/open5gs/issues/3155","https://github.com/open5gs/open5gs/files/15051218/capture.pcap.gz","https://github.com/open5gs/open5gs/commit/e89aa79efe629ae90f59dcdf8847c117d9a7da86","https://github.com/open5gs/open5gs/releases/tag/v2.7.2","https://github.com/open5gs/open5gs/"],"weaknesses":["CWE-121","CWE-119"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/14xxx/CVE-2024-14042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-14042","state":"PUBLISHED","datePublished":"2026-08-11T19:15:09.514Z","dateUpdated":"2026-08-12T16:58:14.188Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-08-09T17:45:47.671Z"},"containers":{"cna":{"title":"Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"Open5GS","versions":[{"version":"2.7.0","status":"affected"},{"version":"2.7.1","status":"affected"},{"version":"2.7.2","status":"unaffected"}],"cpes":["cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*"],"modules":["Diameter S6a Interface"]}],"references":[{"url":"https://vuldb.com/vuln/387280","name":"VDB-387280 | Open5GS Diameter S6a hss-s6a-path.c hss_ogs_diam_s6a_ulr_cb stack-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/387280/cti","name":"VDB-387280 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2024-14042","name":"CVE-2024-14042 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/867105","name":"Submit #867105 | Open5GS v2.7.2 Memory Corruption","tags":["third-party-advisory"]},{"url":"https://github.com/open5gs/open5gs/issues/3155","tags":["issue-tracking"]},{"url":"https://github.com/open5gs/open5gs/files/15051218/capture.pcap.gz","tags":["exploit"]},{"url":"https://github.com/open5gs/open5gs/commit/e89aa79efe629ae90f59dcdf8847c117d9a7da86","tags":["patch"]},{"url":"https://github.com/open5gs/open5gs/releases/tag/v2.7.2","tags":["patch"]},{"url":"https://github.com/open5gs/open5gs/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":6.5,"vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","type":"CWE","lang":"en","description":"Stack-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-08-11T19:15:09.514Z"},"timeline":[{"time":"2026-08-09T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-08-09T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-08-09T19:51:05.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"WeiYi (VulDB User)","type":"reporter"}],"tags":["x_open-source"],"x_generator":["VulDB PVTS v202608"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-12T15:51:52.727127Z","id":"CVE-2024-14042","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-12T16:58:14.188Z"}}]}}}