Improper Validation of Array Index Affecting github.com/free5gc/nas/nastype package, versions <1.2.3


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.34% (26th 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-GOLANG-GITHUBCOMFREE5GCNASNASTYPE-15285596
  • published16 Feb 2026
  • disclosed13 Feb 2026
  • creditzfei10990-cmd

Introduced: 13 Feb 2026

CVE-2025-70121  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade github.com/free5gc/nas/nasType to version 1.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index via the GetSUCI function when processing a crafted 5GS Mobile Identity in a NAS Registration Request message. An attacker can cause a crash of the AMF component by sending a specially crafted message that triggers an out-of-bounds array access.

CVSS Base Scores

version 4.0
version 3.1