CVE-2018-16452

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-16452
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16452.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-16452
Downstream
Related
Published
2019-10-03T16:15:12Z
Modified
2025-10-15T09:24:05.797290Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The SMB parser in tcpdump before 4.9.3 has stack exhaustion in smbutil.c:smb_fdata() via recursion.

References

Affected packages

Git / github.com/the-tcpdump-group/tcpdump

Affected ranges

Type
GIT
Repo
https://github.com/the-tcpdump-group/tcpdump
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

tcpdump-3.*

tcpdump-3.5.1
tcpdump-3.6.1
tcpdump-3.7.1
tcpdump-3.8-bp

tcpdump-4.*

tcpdump-4.5.0
tcpdump-4.6.0
tcpdump-4.6.0-bp
tcpdump-4.7.0-bp
tcpdump-4.9.0
tcpdump-4.9.0-bp
tcpdump-4.9.1
tcpdump-4.9.2

Database specific

{
    "vanir_signatures": [
        {
            "signature_type": "Line",
            "target": {
                "file": "smbutil.c"
            },
            "signature_version": "v1",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "47701217873412167495166016656518889386",
                    "36974076840470573766651075701661087988",
                    "208563996260179577381131519374144831011",
                    "234526865333329858746992185399913069569"
                ]
            },
            "source": "https://github.com/the-tcpdump-group/tcpdump/commit/24182d959f661327525a20d9a94c98a8ec016778",
            "deprecated": false,
            "id": "CVE-2018-16452-8cee2404"
        },
        {
            "signature_type": "Function",
            "target": {
                "file": "smbutil.c",
                "function": "smb_fdata"
            },
            "signature_version": "v1",
            "digest": {
                "length": 1354.0,
                "function_hash": "335627280371783606764285831172798020035"
            },
            "source": "https://github.com/the-tcpdump-group/tcpdump/commit/24182d959f661327525a20d9a94c98a8ec016778",
            "deprecated": false,
            "id": "CVE-2018-16452-eb08f6e3"
        }
    ]
}