CVE-2025-8698 Open5GS AMF Service nsmf-handler.c amf_nsmf_pdusession_handle_release_sm_context assertion
A local attacker can trigger a reachable assertion in the Open5GS AMF service, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8698?
CVE-2025-8698 is a medium-severity denial of service vulnerability in Open5gs Open5gs, published on 7 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-617
Which versions are affected by CVE-2025-8698?
It affects 1 product.
Products include Open5gs Open5gs.
How do I fix CVE-2025-8698?
No fix has been published for CVE-2025-8698 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-8698 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8698 exists.
Other vulnerabilities in Open5gs Open5gs
Sources
Also known as GHSA-46q4-h5pv-r45q.