Buffer Overflow Affecting open5gs/open5gs package, versions [,2.7.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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-10753785
  • published20 Jul 2025
  • disclosed18 Jun 2025
  • creditscmdcs

Introduced: 18 Jun 2025

CVE-2025-44951  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade open5gs/open5gs to version 2.7.5 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the ogs_pfcp_subnet_add function when reading the values of ifname from configuration files. An attacker can execute arbitrary code or cause a crash by providing input longer than 32 characters.

CVSS Base Scores

version 4.0
version 3.1