CVE-2026-115505

Source
https://cve.org/CVERecord?id=CVE-2026-115505
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115505.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-115505
Downstream
Published
2026-10-22T19:14:05Z
Modified
2026-10-31T07:14:21Z
Severity
  • 7.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libsmb2 before 6.3 Integer Overflow in DCE/RPC NDR Decoder via NetrShareEnum
Details

libsmb2 before 6.3 contains integer overflow vulnerabilities in the DCE/RPC NDR decoder in lib/dcerpc.c that allow heap out-of-bounds reads and writes. A malicious SMB server or machine-in-the-middle on unsigned connections can send crafted NetrShareEnum replies with wrapping actual_count or max_count values when clients call smb2_share_enum_async(), corrupting heap memory.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115505.json"
}
References

Affected packages

Git / github.com/sahlberg/libsmb2

Affected ranges

Type
GIT
Repo
https://github.com/sahlberg/libsmb2
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2"
                },
                {
                    "fixed":  "6.3"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "fixed":  "a79f6914cb5ed3f74293d15cdea901261ce179ff"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

libsmb2-6.*
libsmb2-6.0
libsmb2-6.1
libsmb2-6.2
v2.*
v2.0.0
v3.*
v3.0.0
v4.*
v4.0.0
v5.*
v5.0.0
v6.*
v6.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115505.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "24453160054753565830394999529811690103",
                "196255967362816603934745101034157760426",
                "79323916696948006734443640058758571882",
                "338479566419955353942199647210490236089",
                "17567939471411756492080201568840062654",
                "120917691446166607514993708310952124827",
                "32839931994712820329849178625021421396",
                "166955841770309602707899871987736788273",
                "213033943889142923131328099988227391692",
                "35934479121769755232854601782217269876",
                "84206490922969335135108530135788558256",
                "24218729326048897931984866777791393351",
                "64684106634810886064127349547969658279",
                "310357741604454732633057059516657275183",
                "330788214812409629016575522764911667885",
                "88617988050440035951257387332141220639",
                "11603817823367588883217254387532079756"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-115505-25b9b7e4",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff",
        "target":  {
            "file":  "lib/dcerpc.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "255083139788966510894666621215428286249",
            "length":  691
        },
        "id":  "CVE-2026-115505-362f1b24",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff",
        "target":  {
            "file":  "lib/dcerpc.c",
            "function":  "dcerpc_carray_coder"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "32585787954076560017341506075581162198",
            "length":  1407
        },
        "id":  "CVE-2026-115505-b0719d15",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/sahlberg/libsmb2/commit/a79f6914cb5ed3f74293d15cdea901261ce179ff",
        "target":  {
            "file":  "lib/dcerpc.c",
            "function":  "dcerpc_decode_utf16"
        }
    }
]
vanir_signatures_modified
"2026-10-31T07:14:21Z"