Go
CVE-2026-102945
Aether Project amf: panic on an unrecovered NGAP goroutine
- Severity
- Medium 4.9
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 1.7.1-0.20260725031321-d28042aaaea0
- Exploit chance
- 0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-v6w5-38cf-pcv8
- Sources
- OSV.dev and GitHub
Description
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).
ngap/handler.go:
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 the handler indexes it.
Affected software
| Software | Affected versions |
|---|---|
github.com/omec-project/amfGo · osv:Go:github.com/omec-project/amf |
|
About github.com/omec-project/amf
This is the only vulnerability in github.com/omec-project/amf in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-102945
- GitHub Advisory Database https://github.com/advisories/GHSA-v6w5-38cf-pcv8