Heap-based Buffer Overflow Affecting github.com/free5gc/go-upf/internal/forwarder 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.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-GITHUBCOMFREE5GCGOUPFINTERNALFORWARDER-15285597
  • published16 Feb 2026
  • disclosed13 Feb 2026
  • creditzfei10990-cmd

Introduced: 13 Feb 2026

CVE-2025-70122  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the SDFFilterFields.UnmarshalBinary function when processing a declared length that exceeds the actual buffer capacity. An attacker can cause a crash of the UPF component by sending a specially crafted PFCP Session Modification Request.

CVSS Base Scores

version 4.0
version 3.1