Improper Validation of Array Index Affecting github.com/free5gc/go-upf/internal/pfcp package, versions <1.2.8


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.57% (45th 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-GITHUBCOMFREE5GCGOUPFINTERNALPFCP-14535814
  • published19 Dec 2025
  • disclosed18 Dec 2025
  • creditLinZiyu

Introduced: 18 Dec 2025

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

How to fix?

Upgrade github.com/free5gc/go-upf/internal/pfcp to version 1.2.8 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index via the DeleteSess and Sess functions in the session lookup/deletion process. An attacker can cause a crash of the service by sending a specially crafted request with a very large SEID value, leading to a negative index and Go runtime panic.

CVSS Base Scores

version 4.0
version 3.1