Description
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 (3)
Core 3
Core References
Exploit, Third Party Advisory
https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7
Exploit, Issue Tracking
https://github.com/open5gs/open5gs/issues/3775
Scores
CVSS v3
7.1
EPSS
0.0012
EPSS Percentile
30.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-120
Status
published
Products (1)
open5gs/open5gs
< 2.7.2
Published
Jun 18, 2025
Tracked Since
Feb 18, 2026