Executive brief
A vulnerability in the Access and Mobility Management Function (AMF) of the omec-project 5G core network can allow a remote attacker to crash the service. The AMF is a critical component that manages mobile device access and mobility within a 5G network; an exploit would result in a denial-of-service, preventing mobile users from connecting or maintaining their sessions. This issue is caused by the software failing to properly handle specifically malformed network messages.
Technical details
A NULL pointer dereference vulnerability (CWE-404/CWE-476) exists in the NGAP handler of the omec-project AMF. The root cause is located in /go/src/amf/ngap/handler.go, specifically within the HandlePDUSessionResourceModifyIndication function, where the code fails to validate the existence of an SmContext before attempting to access its SmfUri. A remote attacker can trigger a kernel panic (SIGSEGV) by sending a malformed PDUSessionResourceModifyIndication message with invalid information elements. This leads to a complete crash of the AMF service. The issue has been addressed in the 2.2.0 release and subsequent patches.
Affected products
- omec-project amf up to 2.0.2, 2.1.1
Timeline
- 2026-04-21: patched: Patch 34bc6724acc97dba1f8691e586da95b042cb612d committed to main branch
- 2026-04-23: disclosed: Issue #677 reported on GitHub
- 2026-07-04: advisory: CVE-2026-14624 published
References
- https://github.com/omec-project/amf/
- https://github.com/omec-project/amf/commit/34bc6724acc97dba1f8691e586da95b042cb612d
- https://github.com/omec-project/amf/issues/677
- https://github.com/omec-project/amf/pull/666
- https://vuldb.com/cve/CVE-2026-14624
- https://vuldb.com/submit/845349
- https://vuldb.com/vuln/376140