CVE-2017-12989: The RESP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-resp.c:resp_get_len
CVE-2017-12989 is a high-severity flaw (CVSS 7.5) affecting tcpdump. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The RESP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-resp.c:resp_get_length().
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.3% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-835 |
| Published | 2017-09-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12989?
tcpdump: upgrade to newer than 4.9.1. Exact commands for each OS are on this page.
Is CVE-2017-12989 being exploited?
CVE-2017-12989 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12989 affect?
CVE-2017-12989 affects tcpdump. Severity is high (CVSS 7.5). The RESP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-resp.c:resp_get_length().
How urgent is CVE-2017-12989?
Priority 52/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2018-16301 HIGH 7.8 UPGRADE The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile()
- CVE-1999-1024 HIGH 7.5 DOWNGRADE ip_print procedure in Tcpdump 3.4a allows remote attackers to cause a denial of service via a packet with a ze
- CVE-2000-1026 HIGH 10.0 DOWNGRADE Multiple buffer overflows in LBNL tcpdump allow remote attackers to execute arbitrary commands.
- CVE-2023-1801 MEDIUM 6.5 DOWNGRADE The SMB protocol decoder in tcpdump version 4.99.3 can perform an out-of-bounds write when decoding a crafted
- CVE-2020-8037 HIGH 7.5 DOWNGRADE MITIGATE The ppp decapsulator in tcpdump 4.9.3 can be convinced to allocate a large amount of memory.