Buffer overflow in Open5gs
CVE-2025-44952
A missing length check in `ogs_pfcp_subnet_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.dnn` field with a value with length greater than 101.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (12.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 12.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/open5gs/open5gs/issues/3775 (Exploit, Issue Tracking)
- gist.github.com/scemodicecosa/8643fbfc9490f40e955e9f9e9b0d9077 (Broken Link)
- gist.github.com/scmdcs/8643fbfc9490f40e955e9f9e9b0d9077 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-44952?
- CVE-2025-44952 is a high-severity vulnerability in Open5gs, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.8/10. Published 2025-06-18.
- How severe is CVE-2025-44952?
- High severity. CVSS v3 base score is 7.8 out of 10.