Cyber Resilience

CVE-2025-25774

Open5Gs 2.7.2

Public PoC
Published
12 March 2025
Modified
29 April 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score 0.0041 34th percentile
Risk Priority 50 floored blend · peak EPSS

Summary

CVE-2025-25774 is a medium-severity Insufficient Control Flow Management (CWE-691) vulnerability in Open5Gs Open5Gs. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Hijack Execution Flow (T1574); ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-2 (Separation of System and User Functionality) and SC-3 (Security Function Isolation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

An issue was discovered in Open5GS v2.7.2. When a UE switches between two gNBs and sends a handover request at a specific time, it may cause an exception in the AMF's internal state machine, leading to an AMF crash and…

more

resulting in a Denial of Service (DoS).

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1055 Process Injection Stealth
Adversaries may inject code into processes in order to evade process-based defenses as well as possibly elevate privileges.
T1055.003 Thread Execution Hijacking Stealth
Adversaries may inject malicious code into hijacked processes in order to evade process-based defenses as well as possibly elevate privileges.
T1055.004 Asynchronous Procedure Call Stealth
Adversaries may inject malicious code into processes via the asynchronous procedure call (APC) queue in order to evade process-based defenses as well as possibly elevate privileges.
T1574.004 Dylib Hijacking Stealth
Adversaries may execute their own payloads by placing a malicious dynamic library (dylib) with an expected name in a path a victim application searches at runtime.
T1055.005 Thread Local Storage Stealth
Adversaries may inject malicious code into processes via thread local storage (TLS) callbacks in order to evade process-based defenses as well as possibly elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-2521Same product: Open5Gs Open5Gs
CVE-2026-2522Same product: Open5Gs Open5Gs
CVE-2026-8746Same product: Open5Gs Open5Gs
CVE-2026-8186Same product: Open5Gs Open5Gs
CVE-2025-15555Same product: Open5Gs Open5Gs
CVE-2026-8743Same product: Open5Gs Open5Gs
CVE-2025-15419Same product: Open5Gs Open5Gs
CVE-2026-1587Same product: Open5Gs Open5Gs
CVE-2025-8804Same product: Open5Gs Open5Gs
CVE-2024-56921Same product: Open5Gs Open5Gs

Affected Assets

open5gs
open5gs
2.7.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Separating user and system functionality structurally limits unexpected control-flow transfers between domains.

Isolating security functions prevents control-flow tampering that would otherwise bypass or alter security decisions.

Process isolation keeps execution domains separate so one process cannot hijack another's control flow.

Memory protection blocks unauthorized code execution that would modify control flow at runtime.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC activities such as static analysis, code review, and testing directly prevent control-flow weaknesses while also addressing many other coding defects.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development and acceptance can detect control-flow weaknesses but does not itself implement preventive controls.

prevents

Secure development life cycle mandates structured control-flow design and review that directly reduces unexpected flow manipulation.

prevents

Secure system architecture and engineering principles require explicit control-flow integrity mechanisms and error-handling paths.

prevents

Secure coding standards explicitly forbid constructs that allow unintended control-flow changes such as missing breaks or unsafe jumps.

prevents

Change management reduces introduction of control-flow defects through controlled updates but does not address the weakness directly.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Windows 10 (1 rule)
  • V-220726 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-691
Windows 11 (1 rule)
  • V-253283 Data Execution Prevention (DEP) must be configured to at least OptOut. prevents CWE-691

References