CVE-2025-5501

Source
https://cve.org/CVERecord?id=CVE-2025-5501
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5501.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5501
Published
2025-06-03T14:00:21Z
Modified
2026-08-12T15:16:43Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Open5GS NGAP PathSwitchRequest Message ngap-handler.c ngap_handle_path_switch_request_transfer assertion
Details

A vulnerability classified as problematic was found in Open5GS up to 2.7.3. Affected by this vulnerability is the function ngap_handle_path_switch_request_transfer of the file src/smf/ngap-handler.c of the component NGAP PathSwitchRequest Message Handler. The manipulation leads to reachable assertion. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The patch is named 2daa44adab762c47a8cef69cc984946973a845b3. It is recommended to apply a patch to fix this issue.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-617"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5501.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.7.3"
                },
                {
                    "last_affected": "2.7.3"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/open5gs/open5gs

Affected ranges

Type
GIT
Repo
https://github.com/open5gs/open5gs
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.7.0"
        },
        {
            "last_affected": "2.7.0"
        },
        {
            "introduced": "2.7.1"
        },
        {
            "last_affected": "2.7.1"
        },
        {
            "introduced": "2.7.2"
        },
        {
            "last_affected": "2.7.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.7.0
2.7.1
2.7.2
v2.*
v2.7.0
v2.7.1
v2.7.2
v2.7.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5501.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "283699228097974771417032149158339230405",
                "111101232464495279591535532449732857402",
                "188545245900956901828513793204565100958",
                "212104473724913968606937859957759369202",
                "151337172680570283880642088528353421788",
                "262632260405572343770647519494921509997",
                "336397353743217155124984449226310312584",
                "302864078019379153385022537955037859449"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-5501-4f55f314",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/open5gs/open5gs/commit/2daa44adab762c47a8cef69cc984946973a845b3",
        "target": {
            "file": "tests/handover/5gc-xn-test.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "240390042817117866341933731228563616711",
            "length": 122
        },
        "id": "CVE-2025-5501-77707d7b",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/open5gs/open5gs/commit/2daa44adab762c47a8cef69cc984946973a845b3",
        "target": {
            "file": "tests/handover/5gc-xn-test.c",
            "function": "test_5gc_xn"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "31959259624276377035433044528005240867",
            "length": 2882
        },
        "id": "CVE-2025-5501-c7dbba4d",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/open5gs/open5gs/commit/2daa44adab762c47a8cef69cc984946973a845b3",
        "target": {
            "file": "src/smf/ngap-handler.c",
            "function": "ngap_handle_path_switch_request_transfer"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "10863155729394724640360654720630592561",
                "59645793038116878759073965282037440974",
                "105489900741355905362374501483454506487",
                "321342436299600460033136268484383774394"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-5501-f8580375",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/open5gs/open5gs/commit/2daa44adab762c47a8cef69cc984946973a845b3",
        "target": {
            "file": "src/smf/ngap-handler.c"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:16:43Z"