CVE-2025-44951

A missing length check in `ogs_pfcp_dev_add` function from PFCP library, used by both smf and upf in open5gs 2.7.2 and earlier, allows a local attacker to cause a Buffer Overflow by changing the `session.dev` field with a value with length greater than 32.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*

History

09 Jul 2025, 18:35

Type Values Removed Values Added
First Time Open5gs open5gs
Open5gs
References () https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7 - () https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7 - Exploit, Third Party Advisory
References () https://github.com/open5gs/open5gs/issues/3775 - () https://github.com/open5gs/open5gs/issues/3775 - Exploit, Issue Tracking
CPE cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*

20 Jun 2025, 14:15

Type Values Removed Values Added
Summary
  • (es) Una verificación de longitud faltante en la función `ogs_pfcp_dev_add` de la librería PFCP, utilizada tanto por smf como por upf en open5gs 2.7.2 y anteriores, permite a un atacante local causar un desbordamiento de búfer al cambiar el campo `session.dev` con un valor con una longitud mayor a 32.
References
  • {'url': 'https://gist.github.com/scemodicecosa/6d878d6074f0e2f4a8fb69e9864068b7', 'source': 'cve@mitre.org'}
  • () https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7 -

18 Jun 2025, 18:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CWE CWE-120

18 Jun 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 16:15

Updated : 2025-07-09 18:35


NVD link : CVE-2025-44951

Mitre link : CVE-2025-44951

CVE.ORG link : CVE-2025-44951


JSON object : View

Products Affected

open5gs

  • open5gs
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')