CVE-2025-44951

Source
https://cve.org/CVERecord?id=CVE-2025-44951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-44951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-44951
Published
2025-06-18T16:15:27.413Z
Modified
2026-04-12T16:55:23.009639Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/open5gs/open5gs

Affected ranges

Type
GIT
Repo
https://github.com/open5gs/open5gs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.2"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.3.1
v0.3.10
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.8
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.5.0
v0.5.1
v0.5.2
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.3.0
v2.*
v2.0.0
v2.0.18
v2.0.22
v2.1.0
v2.1.1
v2.1.3
v2.1.4
v2.1.5
v2.1.7
v2.2.0
v2.2.1
v2.2.6
v2.2.7
v2.2.8
v2.2.9
v2.3.0
v2.3.2
v2.3.6
v2.4.0
v2.4.1
v2.4.3
v2.4.4
v2.4.5
v2.4.7
v2.4.8
v2.4.9
v2.6.1
v2.6.2
v2.6.3
v2.6.4
v2.6.6
v2.7.0
v2.7.1
v2.7.2

Database specific

vanir_signatures_modified
"2026-04-12T16:55:23Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-44951.json"
vanir_signatures
[
    {
        "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"
    }
]