Aether Project amf: panic on an unrecovered NGAP goroutine
CVE-2026-102945
Summary HandlePathSwitchRequest guards the UESecurityCapabilities IE for presence but never for length, and the extensible APER type silently yields an empty bit string, so six unguarded index-zero reads panic on an unrecovered goroutine and terminate the AMF. The AMF is the control-plane entry point for a 5G core, so terminating it drops mobility management for every subscriber. Confirmed at HEAD daed5a2 (present in v3.1.5). The defect ngap/handler.go: go if uESecurityCapabilities != nil { // line 3267, PRESENCE only amfUe.UESecurityCapability.SetEA11285G((uESecurityCapabilities.NRencryptionAlgorithms.Value.Bytes[0] & 0x80) >> 7) // line 3268 ... (five more Bytes[0] reads, lines 3269-3273) } Six index-zero reads, all guarded only by a nil check on the containing IE. Why the bit string can be empty: the field is declared aper:"sizeExt,sizeLB:16,sizeUB:16". Because the type is EXTENSIBLE, parseBitString DISCARDS the SIZE(16) constraint when the peer sets the extension bit, and then if rawLength == 0 { return bitString, nil } returns a bit string with an empty Bytes slice and NO ERROR. So the decoder hands the handler a well-formed, error-free value whose Bytes has length zero, and…
Assessment
- CVSS
- 4.9 (v3.1)
- Severity
- Medium
- EPSS
- 0.00361% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 19 November 2026
- Last updated
- 20 November 2026
- Affected
- omec-project · amf · github.com/omec-project/amf
- Weakness
- CWE-125, CWE-1284, CWE-248
- Assigner
- GitHub_M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
At the source
References
- https://github.com/omec-project/amf/security/advisories/GHSA-v6w5-38cf-pcv8
- https://nvd.nist.gov/vuln/detail/CVE-2026-102945
- https://github.com/omec-project/amf/pull/767
- https://github.com/omec-project/amf/commit/d28042aaaea0221c5ea93c3e069a1dd5e7436f4c
- https://github.com/omec-project/amf/releases/tag/v3.1.6
- https://github.com/advisories/GHSA-v6w5-38cf-pcv8
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-102945