CVE-2017-18207

CVE-2017-18207 is a medium-severity vulnerability in Python with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-369.

Key facts

Description

The Wave_read._read_fmt_chunk function in Lib/wave.py in Python through 3.6.4 does not ensure a nonzero channel value, which allows attackers to cause a denial of service (divide-by-zero and exception) via a crafted wav format audio file. NOTE: the vendor disputes this issue because Python applications "need to be prepared to handle a wide variety of exceptions.

Frequently asked questions

What is CVE-2017-18207?
The Wave_read._read_fmt_chunk function in Lib/wave.py in Python through 3.6.4 does not ensure a nonzero channel value, which allows attackers to cause a denial of service (divide-by-zero and exception) via a crafted wav format audio file. NOTE: the vendor disputes this issue because Python applications "need to be prepared to handle a wide variety of exceptions.
How severe is CVE-2017-18207?
CVE-2017-18207 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2017-18207 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2017-18207?
CVE-2017-18207 affects Python. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2017-18207?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2017-18207 published?
CVE-2017-18207 was published on 2018-03-01 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Python

All CVEs affecting Python →

Other CWE-369 (Divide By Zero) vulnerabilities

Browse all CWE-369 (Divide By Zero) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: