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

EPSS: 0.002 (8.8th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-44951?
CVE-2025-44951 is a high-severity vulnerability in Open5gs, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.1/10. Published 2025-06-18.
How severe is CVE-2025-44951?
High severity. CVSS v3 base score is 7.1 out of 10.