{"id":"CVE-2025-44951","details":"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.","modified":"2026-08-12T15:13:51.213999Z","published":"2025-06-18T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/44xxx/CVE-2025-44951.json"},"references":[{"type":"WEB","url":"https://gist.github.com/scmdcs/6d878d6074f0e2f4a8fb69e9864068b7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/44xxx/CVE-2025-44951.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-44951"},{"type":"REPORT","url":"https://github.com/open5gs/open5gs/issues/3775"},{"type":"FIX","url":"https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open5gs/open5gs","events":[{"introduced":"0"},{"fixed":"e3dd98cd291fba233a46adb2881213fc6e38b924"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.7.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:open5gs:open5gs:*:*:*:*:*:*:*:*"}}],"versions":["v2.7.2","v2.7.1","v2.7.0","v2.6.6","v2.6.4","v2.6.3","v2.6.2","v2.6.1","v2.4.9","v2.4.8","v2.4.7","v2.4.5","v2.4.4","v2.4.3","v2.4.1","v2.4.0","v2.3.6","v2.3.2","v2.3.0","v2.2.9","v2.2.8","v2.2.7","v2.2.6","v2.2.1","v2.2.0","v2.1.7","v2.1.5","v2.1.4","v2.1.3","v2.1.1","v2.1.0","v2.0.22","v2.0.18","v2.0.0","v1.3.0","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.3.10","v0.3.8","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-44951.json","vanir_signatures_modified":"2026-08-12T15:13:51Z","vanir_signatures":[{"id":"CVE-2025-44951-010b7893","signature_type":"Function","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924","target":{"file":"lib/pfcp/context.c","function":"ogs_pfcp_dev_add"},"deprecated":false,"digest":{"function_hash":"259482898196472605423114668031278163946","length":274}},{"deprecated":false,"digest":{"line_hashes":["216244124186495522033909039647836258721","59640315232789263250752922199211066586","210423162397235879162744741755776330242","86320735688523126864902784000390201813","88069510662009714678268338824180378477","63386367305157736002465430518052656026","33542708549945072615027443968431631516","140586463907386041731599200703348546155"],"threshold":0.9},"id":"CVE-2025-44951-f3bf8524","signature_type":"Line","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924","target":{"file":"lib/pfcp/context.c"}},{"target":{"file":"lib/pfcp/context.c","function":"ogs_pfcp_subnet_add"},"deprecated":false,"digest":{"function_hash":"100736648858488848744771858599687587275","length":1909},"id":"CVE-2025-44951-fa1a20da","signature_type":"Function","signature_version":"v1","source":"https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}