Description
A security flaw has been discovered in Open5GS 2.7.7. This affects the function amf_context_final of the file src/amf/context.c of the component AMF. Performing a manipulation results in use after free. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks.
Published: 2026-07-09
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Open5GS 2.7.7 deployment is vulnerable through a use‑after‑free condition in the amf_context_final function of the AMF component, as identified by CWE‑416 and CWE‑119. When a local attacker manipulates AMF context data, the vulnerability can lead to arbitrary code execution or cause the AMF process to crash. The CVSS score of 4.8 classifies the issue as medium severity, reflecting the limited scope and local nature of the attack. The public availability of an exploit emphasizes the need for timely remediation.

Affected Systems

Vulnerable systems are those running Open5GS Open5GS 2.7.7. Earlier releases that include the same amf_context_final code could also carry the flaw, but the CVE description specifically confirms the issue in version 2.7.7.

Risk and Exploitability

The exploit requires local access to the host where Open5GS is running; remote attackers are not directly affected. The EPSS score of less than 1% indicates a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Because a public exploit was released, a local adversary with sufficient privileges can potentially gain control of the AMF process, which is critical to 5G core network operations.

Generated by OpenCVE AI on July 28, 2026 at 08:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Open5GS release that includes the fix for the amf_context_final use‑after‑free vulnerability.
  • Restrict local access to the AMF process by running it with the least privilege required, disabling unnecessary services, and applying network segmentation or firewall rules to limit local user interaction.
  • Compile Open5GS with additional memory protection options, such as stack canaries, data execution prevention, address space layout randomization, and compile‑time safe memory handling, to reduce the chance of successful exploitation.

Generated by OpenCVE AI on July 28, 2026 at 08:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in Open5GS 2.7.7. This affects the function amf_context_final of the file src/amf/context.c of the component AMF. Performing a manipulation results in use after free. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks.
Title Open5GS AMF context.c amf_context_final use after free
First Time appeared Open5gs
Open5gs open5gs
Weaknesses CWE-119
CWE-416
CPEs cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*
Vendors & Products Open5gs
Open5gs open5gs
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-09T17:31:40.158Z

Reserved: 2026-07-09T05:54:06.487Z

Link: CVE-2026-15194

cve-icon Vulnrichment

Updated: 2026-07-09T17:31:36.395Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-28T09:00:06Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-416

    Use After Free