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.
"2026-04-12T16:55:23Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-44951.json"
[
{
"digest": {
"length": 274.0,
"function_hash": "259482898196472605423114668031278163946"
},
"target": {
"file": "lib/pfcp/context.c",
"function": "ogs_pfcp_dev_add"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-44951-010b7893",
"source": "https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"216244124186495522033909039647836258721",
"59640315232789263250752922199211066586",
"210423162397235879162744741755776330242",
"86320735688523126864902784000390201813",
"88069510662009714678268338824180378477",
"63386367305157736002465430518052656026",
"33542708549945072615027443968431631516",
"140586463907386041731599200703348546155"
]
},
"target": {
"file": "lib/pfcp/context.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-44951-f3bf8524",
"source": "https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924"
},
{
"digest": {
"length": 1909.0,
"function_hash": "100736648858488848744771858599687587275"
},
"target": {
"file": "lib/pfcp/context.c",
"function": "ogs_pfcp_subnet_add"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-44951-fa1a20da",
"source": "https://github.com/open5gs/open5gs/commit/e3dd98cd291fba233a46adb2881213fc6e38b924"
}
]