Home / Apache Software Foundation / Apache SpamAssassin / CVE-2017-15705
CVE-2017-15705: is it exploited, and which versions of Apache Software Foundation Apache SpamAssassin are affected and fixed?
CVE-2017-15705 is an improper input validation vulnerability in Apache Software Foundation Apache SpamAssassin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: Apache SpamAssassin all modern versions before 3.4.2 (CVE record by apache). Fixed in 3.4.2 (NVD). Severity: Medium (5.3, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:29 UTC.
What is CVE-2017-15705?
A denial of service vulnerability was identified that exists in Apache SpamAssassin before 3.4.2. The vulnerability arises with certain unclosed tags in emails that cause markup to be handled incorrectly leading to scan timeouts. In Apache SpamAssassin, using HTML::Parser, we setup an object and hook into the begin and end tag event handlers In both cases, the "open" event is immediately followed by a "close" event - even if the tag *does not* close in the HTML being parsed. Because of this, we are missing the "text" event to deal with the object normally. This can cause carefully crafted emails that might take more scan time than expected leading to a Denial of Service. The issue is possibly a bug or design decision in HTML::Parser that specifically impacts the way Apache SpamAssassin uses the module with poorly formed html. The exploit has been seen in the wild but not believed to have been purposefully part of a Denial of Service attempt. We are concerned that there may be attempts to abuse the vulnerability in the future.
From the CVE record by apache, last updated September 16, 2024, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | all modern versions before 3.4.2 |
As the CVE record by apache states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | spamassassin | before 3.4.2 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux eus | 7.5 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:08 UTC.
How severe is CVE-2017-15705?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-15705 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.78% probability of exploitation activity in the next 30 days, percentile 94.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- USN-3811-2 vendor-advisory, x_refsource_UBUNTU
- USN-3811-1 vendor-advisory, x_refsource_UBUNTU
- GLSA-201812-07 vendor-advisory, x_refsource_GENTOO
- [announce] 20180916 [SECURITY] Apache SpamAssassin 3.4.2 resolves CVE-2017-15705, CVE-2016-1238, CVE-2018-11780 & CVE-2018-11781 mailing-list, x_refsource_MLIST
- RHSA-2018:2916 vendor-advisory, x_refsource_REDHAT
- 105347 vdb-entry, x_refsource_BID
- [debian-lts-announce] 20181113 [SECURITY] [DLA 1578-1] spamassassin security update mailing-list, x_refsource_MLIST
- openSUSE-SU-2019:1831 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- October 21, 2017
- Published
- September 17, 2018, 14:00 UTC
- CVE record updated
- September 16, 2024, 23:15 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 01:08 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:29 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache SpamAssassin?
- Mar 25, 2021CVE-2020-1946 Apache Software Foundation Apache SpamAssassin: OS command injection
- Jan 30, 2020CVE-2020-1930 Apache Software Foundation Apache SpamAssassin: OS command injection
- Jan 30, 2020CVE-2020-1931 Apache Software Foundation Apache SpamAssassin: OS command injection
- Sep 17, 2018CVE-2018-11781 Apache Software Foundation Apache SpamAssassin: code injection (remote code execution)
- Sep 17, 2018CVE-2018-11780 Apache Software Foundation Apache SpamAssassin: code injection (remote code execution)
Every CVE in Apache SpamAssassin
Questions about CVE-2017-15705
Is CVE-2017-15705 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 7.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache SpamAssassin are affected by CVE-2017-15705?
Apache SpamAssassin all modern versions before 3.4.2, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2017-15705?
3.4.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-15705?
Medium (5.3, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-15705?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.