{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-16301 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-16301 is a high-severity memory corruption vulnerability in Tcpdump Tcpdump, published on 3 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-16301 and fix it if it is affected.\n\nWhat it is: CVE-2018-16301 is a high-severity memory corruption vulnerability in Tcpdump Tcpdump, published on 3 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-16301 in the wild and no public exploit code.\n\nAffected product: Tcpdump Tcpdump. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-16301/ (Markdown: https://insights.sbomify.com/CVE-2018-16301/index.md)","id":"CVE-2018-16301","markdown":"https://insights.sbomify.com/CVE-2018-16301/index.md","name":"CVE-2018-16301","record":{"aliases":["ALPINE-CVE-2018-16301","AZL-8506","DEBIAN-CVE-2018-16301","GHSA-h8wh-rj39-x373","OESA-2022-1862","OESA-2022-1863","SUSE-SU-2022:0505-1","SUSE-SU-2022:0774-1","SUSE-SU-2022:14890-1","UBUNTU-CVE-2018-16301","openSUSE-SU-2022:0774-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Network packet analyzer","requires_auth":"none","summary":"A buffer overflow in tcpdump's command-line argument parser allows attackers to execute arbitrary code or cause a denial of service by providing a specific large file name.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Tcpdump","cpe":[{"product":"tcpdump","vendor":"tcpdump"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in tcpdump","id":"CVE-2018-16301","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"tcpdump:tcpdump","products":["tcpdump:tcpdump"],"type":"memory_corruption","year":"2018"},"n_packages":37,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-16302"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["3.9.8-1.30.19.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2022:14890-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["3.9.8-1.30.19.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2022:14890-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:0774-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["4.9.2-14.20.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/suse/tcpdump\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2022:0505-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["4.9.2-3.18.1"],"introduced":["0"],"last_affected":[],"package":"tcpdump","purl":"pkg:rpm/opensuse/tcpdump\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:0774-1"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2018-16300"},"products":["tcpdump"],"published":"2019-10-03","related":[{"cvss_score":9.8,"headline":"tcpdump before 4.9.3 mishandles the printing of SMB data (issue 1 of 2).","id":"CVE-2018-10103","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2018-10105","kev_date_added":null,"published":"2019-10-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12893","kev_date_added":null,"published":"2017-09-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12894","kev_date_added":null,"published":"2017-09-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12895","kev_date_added":null,"published":"2017-09-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12897","kev_date_added":null,"published":"2017-09-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-12898","kev_date_added":null,"published":"2017-09-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["The Tcpdump Group"]},"summary":"A buffer overflow in tcpdump's command-line argument parser allows attackers to execute arbitrary code or cause a denial of service by providing a specific large file name.","url":"https://insights.sbomify.com/CVE-2018-16301/"}