{"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-10-28T10:46:02.999355209Z","published":"2025-08-07T20:32:07.135Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-617"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8698.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.7.3"},{"last_affected":"2.7.3"},{"introduced":"2.7.4"},{"last_affected":"2.7.4"}],"source":"AFFECTED_FIELD"}]}]},"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":"83e35bb2de7e67646fdba849580184422b10006a"},{"fixed":"66bc558e417e70ae216ec155e4e81c14ae0ecf30"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.7.0"},{"last_affected":"2.7.0"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.7.1"},{"last_affected":"2.7.1"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.7.2"},{"last_affected":"2.7.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"2.7.5"},{"last_affected":"2.7.5"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"66bc558e417e70ae216ec155e4e81c14ae0ecf30"}]}]}}],"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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8698.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30","target":{"file":"src/amf/nsmf-handler.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["262987498321078159615738071952957014466","270981023984717729085048526903881789430","238672636556548155105929887064482433265","198187147925439038181337088280740909979","24493636539730833820020977806424341331"]},"id":"CVE-2025-8698-088fd12a"},{"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","target":{"function":"amf_nsmf_pdusession_handle_release_sm_context","file":"src/amf/nsmf-handler.c"}}],"vanir_signatures_modified":"2026-10-28T10:46:02Z"}}],"schema_version":"1.9.2","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"}]}