# CVE-2026-82587: Open5GS AMF memory corruption in UE MM context decoding

Source: https://junglewise.ai/threats/cve-2026-82587-open5gs-amf-memory-corruption-in-ue-mm-context-decoding  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-30. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-82587 · Severity: medium · CVSS 4.3 · Published 2026-08-30

Open5GS is an open-source implementation of 5G core network infrastructure. A memory corruption vulnerability in the AMF (Access and Mobility Function) component could allow a remote attacker to crash the service or potentially execute arbitrary code, disrupting 5G network operations and potentially affecting connected devices.

Technologies: [Open5GS](https://junglewise.ai/threats/technologies/open5gs). Vendors: [Open5GS](https://junglewise.ai/threats/vendors/open5gs).

## Quick answers

**Is CVE-2026-82587 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-82587 being exploited in the wild.

**How severe is CVE-2026-82587?** Medium severity, with a CVSS score of 4.3, published 30 August 2026.

**Which products and versions are affected?** Open5GS up to 2.7.7.

**Is there a fix for CVE-2026-82587?** A patch was published on 2026-05-14: Patch commit abf8a836564b966b5141110fc25ed413c4f17522 authored Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-82587 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-82587?** Check whether you run Open5GS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a memory corruption flaw in the amf_namf_comm_decode_ue_mm_context_list function of src/amf/namf-handler.c within the AMF component. Improper handling of the ueContext.mmContextList[*].allowedNssai argument leads to memory corruption. The vulnerability is remotely exploitable and requires no authentication; however, successful exploitation may depend on network-level access to the AMF service. An attacker can trigger a denial of service by crashing the AMF process. The issue is resolved in version 2.8.0 via commit abf8a836564b966b5141110fc25ed413c4f17522, which improves error handling in namf handlers.

## Affected products

- Open5GS Open5GS up to 2.7.7

## Timeline

- 2026-08-30: disclosed: CVE-2026-82587 published
- 2026-05-14: patched: Patch commit abf8a836564b966b5141110fc25ed413c4f17522 authored
- 2026-05-13: other: Patch authored

## References

- [https://github.com/open5gs/open5gs/](https://github.com/open5gs/open5gs/)
- [https://github.com/open5gs/open5gs/commit/abf8a836564b966b5141110fc25ed413c4f17522](https://github.com/open5gs/open5gs/commit/abf8a836564b966b5141110fc25ed413c4f17522)

## Related threats

- [Open5GS HTTP/2 SBI server memory exhaustion](https://junglewise.ai/threats/cve-2026-106806-a-memory-exhaustion-issue-exists-in-open5gs-v2-8-0-in-the-http-2)
- [open5GS PFCP transaction handling denial of service](https://junglewise.ai/threats/cve-2026-106807-a-denial-of-service-vulnerability-exists-in-open5gs-v2-8-0-in)
- [Open5GS heap out-of-bounds write in multipart parsing](https://junglewise.ai/threats/cve-2026-116543-open5gs-1-3-0-through-2-8-0-contains-a-heap-out-of-bounds-write)
- [Open5GS assertion failure in SGSN context request handling](https://junglewise.ai/threats/cve-2026-108105-open5gs-through-2-8-0-contains-a-reachable-assertion)
- [Open5GS heap out-of-bounds read in PFCP parsing](https://junglewise.ai/threats/cve-2026-108103-open5gs-through-2-8-0-contains-a-heap-out-of-bounds-read)
