{"id":"CVE-2025-8698","summary":"Open5GS AMF Service nsmf-handler.c amf_nsmf_pdusession_handle_release_sm_context assertion","details":"A vulnerability was found in Open5GS up to 2.7.5. It has been classified as problematic. Affected is the function amf_nsmf_pdusession_handle_release_sm_context of the file src/amf/nsmf-handler.c of the component AMF Service. The manipulation leads to reachable assertion. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The name of the patch is 66bc558e417e70ae216ec155e4e81c14ae0ecf30. It is recommended to apply a patch to fix this issue.","modified":"2026-08-12T15:15:03.523661Z","published":"2025-08-07T20:32:07.135Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8698.json","unresolved_ranges":[{"extracted_events":[{"introduced":"2.7.3"},{"last_affected":"2.7.3"},{"introduced":"2.7.4"},{"last_affected":"2.7.4"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulDB","cwe_ids":["CWE-617"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8698.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8698"},{"type":"ADVISORY","url":"https://vuldb.com/?id.319128"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.621282"},{"type":"REPORT","url":"https://github.com/open5gs/open5gs/issues/4012"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.319128"},{"type":"FIX","url":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"},{"type":"EVIDENCE","url":"https://github.com/user-attachments/files/21356631/amf_nsmf_pdusession_handle_release_sm_context.zip"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open5gs/open5gs","events":[{"introduced":"0"},{"fixed":"66bc558e417e70ae216ec155e4e81c14ae0ecf30"}],"database_specific":{"cpe":"cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.7.5"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["2.7.0","2.7.1","2.7.2","2.7.5","v2.7.6","v2.7.5","v2.7.2","v2.7.1","v2.7.0","v2.6.6","v2.6.4","v2.6.3","v2.6.2","v2.6.1","v2.4.9","v2.4.8","v2.4.7","v2.4.5","v2.4.4","v2.4.3","v2.4.1","v2.4.0","v2.3.6","v2.3.2","v2.3.0","v2.2.9","v2.2.8","v2.2.7","v2.2.6","v2.2.1","v2.2.0","v2.1.7","v2.1.5","v2.1.4","v2.1.3","v2.1.1","v2.1.0","v2.0.22","v2.0.18","v2.0.0","v1.3.0","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.3.10","v0.3.8","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8698.json","vanir_signatures_modified":"2026-08-12T15:15:03Z","vanir_signatures":[{"target":{"file":"src/amf/nsmf-handler.c"},"deprecated":false,"digest":{"line_hashes":["262987498321078159615738071952957014466","270981023984717729085048526903881789430","238672636556548155105929887064482433265","198187147925439038181337088280740909979","24493636539730833820020977806424341331"],"threshold":0.9},"id":"CVE-2025-8698-088fd12a","signature_type":"Line","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"},{"target":{"file":"src/amf/nsmf-handler.c","function":"amf_nsmf_pdusession_handle_release_sm_context"},"deprecated":false,"digest":{"function_hash":"290399993675066603647047023267076432343","length":6570},"id":"CVE-2025-8698-40c6eddf","signature_type":"Function","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}]}