Buffer overflow in Open5gs
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 15.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/open5gs/open5gs/issues/3775 (Exploit, Issue Tracking)
- gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7 (Exploit, Third Party Advisory)
- github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924