{"id":"CVE-2025-8698","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-04-12T22:06:15.787252Z","published":"2025-08-07T21:15:29.900Z","references":[{"type":"WEB","url":"https://github.com/user-attachments/files/21356631/amf_nsmf_pdusession_handle_release_sm_context.zip"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open5gs/open5gs","events":[{"introduced":"0"},{"last_affected":"7dfd9a39649700c24c22f1978ed7a35541a72cca"},{"fixed":"66bc558e417e70ae216ec155e4e81c14ae0ecf30"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.7.5"}]}}],"versions":["v0.1.0","v0.1.1","v0.2.0","v0.3.0","v0.3.1","v0.3.10","v0.3.2","v0.3.3","v0.3.4","v0.3.5","v0.3.6","v0.3.8","v0.4.1","v0.4.2","v0.4.3","v0.4.4","v0.5.0","v0.5.1","v0.5.2","v1.0.0","v1.1.0","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.3.0","v2.0.0","v2.0.18","v2.0.22","v2.1.0","v2.1.1","v2.1.3","v2.1.4","v2.1.5","v2.1.7","v2.2.0","v2.2.1","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0","v2.3.2","v2.3.6","v2.4.0","v2.4.1","v2.4.3","v2.4.4","v2.4.5","v2.4.7","v2.4.8","v2.4.9","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.6.6","v2.7.0","v2.7.1","v2.7.2","v2.7.5","v2.7.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8698.json","vanir_signatures_modified":"2026-04-12T22:06:15Z","vanir_signatures":[{"deprecated":false,"signature_version":"v1","target":{"file":"src/amf/nsmf-handler.c"},"id":"CVE-2025-8698-088fd12a","digest":{"threshold":0.9,"line_hashes":["262987498321078159615738071952957014466","270981023984717729085048526903881789430","238672636556548155105929887064482433265","198187147925439038181337088280740909979","24493636539730833820020977806424341331"]},"signature_type":"Line","source":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"},{"deprecated":false,"signature_version":"v1","target":{"file":"src/amf/nsmf-handler.c","function":"amf_nsmf_pdusession_handle_release_sm_context"},"id":"CVE-2025-8698-40c6eddf","digest":{"function_hash":"290399993675066603647047023267076432343","length":6570},"signature_type":"Function","source":"https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"}]}}],"schema_version":"1.7.5","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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}