LOW 3.3

CVE-2026-15194: Open5GS 2.7.7 Use-After-Free in AMF Context Handling

Open5GS version 2.7.7 contains a use-after-free vulnerability in the AMF (Access and Mobility Management Function) component's context cleanup routine. An authenticated local attacker can trigger this flaw by manipulating the amf_context_final function, potentially leading to information disclosure. While the vulnerability requires local access and low privileges, public exploit code now exists, increasing practical risk despite the low CVSS rating.

Source data · NVD / CISA · public domain

CVSS
3.1 · 3.3 LOW · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses (CWE)
CWE-119, CWE-416
Affected products
0 configuration(s)
Published / Modified
2026-07-09 / 2026-07-09

NVD description (verbatim)

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.

6 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-15194 is a use-after-free memory safety defect (CWE-416) combined with out-of-bounds access potential (CWE-119) located in src/amf/context.c within Open5GS 2.7.7's AMF subsystem. The flaw occurs during context finalization when object references are freed but subsequently accessed. The vulnerability requires local system access and authenticated user privileges to exploit. Public proof-of-concept code has been disclosed, removing the barrier to practical weaponization.

Business impact

For operators running Open5GS in lab, test, or pre-production environments, this vulnerability poses a localized information disclosure risk. The requirement for local, authenticated access limits blast radius to insider threats or compromised system accounts. However, in containerized or multi-tenant deployments where AMF instances share kernel namespaces or where unprivileged container users have elevated permissions, the risk surface expands. The availability of public exploits means security teams cannot rely on obscurity as a defense layer.

Affected systems

Open5GS version 2.7.7 is affected. The vulnerability resides specifically in the AMF component's context handling during lifecycle operations. Operators running earlier or later versions should verify their patch status against the vendor advisory, as the scope and fix date of this issue require confirmation from Open5GS maintainers.

Exploitability

Exploitability is moderate in practical terms despite the low CVSS score. The low score reflects the local, authenticated prerequisite—the attacker must already have a shell session or service account on the Open5GS system. Public exploit code now circulates, eliminating the need for custom development. The attack requires no user interaction and is deterministic. In environments where developers, testers, or service accounts have interactive access, exploitation becomes straightforward.

Remediation

Upgrade Open5GS to a patched version released after this vulnerability's disclosure. Consult the Open5GS project repository and security advisories for the specific version number containing the fix. Until patching is feasible, restrict local shell and service account access to the AMF host to authenticated administrators only, disable unnecessary local login methods, and implement file integrity monitoring on the AMF binary and context.c-derived components.

Patch guidance

Contact the Open5GS project maintainers or check their official GitHub releases and security bulletins for the recommended patched version. Apply patches in a staging environment first to validate AMF stability and 5G core functionality. Given the local-only attack vector, patching can typically proceed on a standard maintenance window rather than emergency timelines, but should not be indefinitely deferred given public exploit availability.

Detection guidance

Monitor for segmentation faults or abnormal termination of the amf process with SIGSEGV signals, particularly correlated with user session creation or context cleanup events. Deploy AddressSanitizer (ASan) or Valgrind on development/test AMF instances to catch use-after-free memory accesses during functional testing. Log and alert on failed or suspicious authentication attempts to local AMF service accounts. Memory dump analysis of crashed AMF processes may reveal heap corruption patterns consistent with this flaw.

Why prioritize this

Although CVSS is low (3.3), this vulnerability merits medium priority because: (1) public exploit code exists, eliminating discovery barriers; (2) the local+authenticated requirement is not insurmountable in containerized or shared hosting scenarios; (3) information disclosure via heap read could expose 5G subscription credentials or session keys; and (4) use-after-free bugs can occasionally be chained with other flaws to achieve higher impact. Defer below critical/high issues but schedule patching within 30–60 days.

Risk score, explained

The CVSS 3.1 score of 3.3 (LOW) reflects: Attack Vector=Local (AV:L), Attack Complexity=Low (AC:L), Privileges Required=Low (PR:L), User Interaction=None (UI:N), Scope=Unchanged (S:U), Confidentiality=Low (C:L), Integrity=None (I:N), Availability=None (A:N). The score correctly penalizes the local access requirement and lack of integrity/availability impact. However, it does not account for the public exploit availability, which increases practical exploitability beyond the base score. Organizations should treat this as a local privilege escalation + information disclosure compound risk rather than a purely low-severity issue.

Frequently asked questions

Does this vulnerability affect the 5G core's inter-component communication?

The flaw is localized to AMF context cleanup and does not directly compromise inter-component messaging protocols. However, information leaked from heap corruption could theoretically include inter-process communication state or credentials. Operators should verify via vendor advisories whether context cleanup occurs during active signaling procedures.

Can this be exploited from a container escape or sandbox bypass scenario?

Not directly, but if an attacker has already escaped a container or compromised a service account within the AMF host, they can trigger the use-after-free. It is not a container escape vector itself; rather, it is a privilege escalation or information disclosure tool once local access exists.

Is this vulnerability present in Open5GS versions before 2.7.7?

The advisory specifies version 2.7.7; earlier versions may or may not be affected. Consult the Open5GS GitHub repository and commit history to determine when the vulnerable code was introduced and when it was patched.

What is the difference between this use-after-free and the CWE-119 buffer overflow component?

CWE-416 (use-after-free) describes the primary defect: a freed memory region is accessed again. CWE-119 (improper restriction of operations within bounds of memory) may reflect a secondary or related concern, such as lack of bounds checking before or after the freeing operation. Both are rooted in memory safety failures.

This analysis is provided for informational purposes and reflects the state of the vulnerability as of the publication date. CVSS scores and severity ratings are from authoritative sources (NVD, vendor advisories) and should not be modified without formal re-evaluation. Patch version numbers and vendor fix details must be verified against official Open5GS releases and security bulletins before deployment. SEC.co makes no guarantee of exploit availability, exploitability timelines, or the completeness of this advisory. Organizations should conduct independent risk assessment aligned with their 5G infrastructure topology and threat models. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).