A vulnerability was found in Open5GS up to 2.7.5. It has been classified as problematic. Affected is the function amfnsmfpdusessionhandlereleasesmcontext 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.
{
"cwe_ids": [
"CWE-617"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "2.7.3"
},
{
"last_affected": "2.7.3"
},
{
"introduced": "2.7.4"
},
{
"last_affected": "2.7.4"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8698.json"
}{
"cpe": "cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.7.5"
}
]
}
[
{
"target": {
"file": "src/amf/nsmf-handler.c"
},
"deprecated": false,
"id": "CVE-2025-8698-088fd12a",
"signature_version": "v1",
"digest": {
"line_hashes": [
"262987498321078159615738071952957014466",
"270981023984717729085048526903881789430",
"238672636556548155105929887064482433265",
"198187147925439038181337088280740909979",
"24493636539730833820020977806424341331"
],
"threshold": 0.9
},
"signature_type": "Line",
"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,
"id": "CVE-2025-8698-40c6eddf",
"signature_version": "v1",
"digest": {
"function_hash": "290399993675066603647047023267076432343",
"length": 6570.0
},
"signature_type": "Function",
"source": "https://github.com/open5gs/open5gs/commit/66bc558e417e70ae216ec155e4e81c14ae0ecf30"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8698.json"
"2026-08-12T15:15:03Z"