# CVE-2025-44952: A missing length check in ogspfcpsubnetadd function from PFCP library, used by both smf and upf in open5gs 2.7.2 and earlier, allows a loca…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-18T00:00:00.000Z
- Modified: 2026-06-17T09:25:17.900Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- open5gs open5gs: up to 2.7.2

## References

- <https://github.com/open5gs/open5gs/issues/3775> (exploit, issue-tracking)
- <https://gist.github.com/scmdcs/8643fbfc9490f40e955e9f9e9b0d9077> (exploit, third-party-advisory)
- <https://gist.github.com/scemodicecosa/8643fbfc9490f40e955e9f9e9b0d9077> (broken-link)

## Sources

- CVE List: [CVE-2025-44952](https://www.cve.org/CVERecord?id=CVE-2025-44952), CVE Terms of Use, modified 2025-06-20
- NVD: [CVE-2025-44952](https://nvd.nist.gov/vuln/detail/CVE-2025-44952), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-44952 · Whole record: https://cve.day/CVE-2025-44952.json · Rebuilt by cve.day 2026-11-25T22:58:59.380Z
