spamassassin: Certain unclosed tags in crafted emails allow for scan timeouts and result in denial of service
Published Sep 17, 2018
7.5
HIGHCVSS 3.0
EPSS 7.88%
Description
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.
Affected products
-
- Version all modern versions before 3.4.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | n/a |
|
Configuration 1
- < 3.4.2
Configuration 2
- 12.04
- 14.04
- 16.04
- 18.04
- 8.0
- 7.0
- 7.5
- 7.0
- 7.0
No data.
Red Hat Enterprise Linux 7
spamassassin-0:3.4.0-4.el7_5
Fixed · RHSA-2018:2916
Red Hat Enterprise Linux 5
spamassassin
Will not fix
Red Hat Enterprise Linux 6
spamassassin
Will not fix
Red Hat Enterprise Linux 8
spamassassin
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | spamassassin-0:3.4.0-4.el7_5 | Fixed | RHSA-2018:2916 |
| Red Hat Enterprise Linux 5 | spamassassin | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | spamassassin | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | spamassassin | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.88% (0.07879) | 94.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.88% (0.07879) | 93.93th | v5 (v2026.06.15) |
| Jul 20, 2025 | 1.84% (0.01839) | 82.16th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.42% (0.03420) | 86.63th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.68% (0.02683) | 90.14th | v3 (v2023.03.01) |
| Jul 1, 2024 | 0.91% (0.00912) | 82.92th | v3 (v2023.03.01) |
| May 5, 2024 | 0.89% (0.00891) | 82.51th | v3 (v2023.03.01) |
| Mar 18, 2024 | 0.85% (0.00853) | 81.83th | v3 (v2023.03.01) |
| Feb 8, 2024 | 1.04% (0.01041) | 83.48th | v3 (v2023.03.01) |
| Nov 8, 2023 | 1.47% (0.01470) | 85.25th | v3 (v2023.03.01) |
| Sep 11, 2023 | 0.73% (0.00735) | 78.49th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.66% (0.00665) | 76.93th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.80% (0.00799) | 78.96th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.86% (0.01859) | 77.22th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.86% (0.01859) | 77.17th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.86% (0.01859) | 75.15th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.86% (0.01859) | 54.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 6.65% (0.06653) | 83.11th | v1 |
| Jan 6, 2022 | 6.65% (0.06653) | 82.95th | v1 |
| Sep 1, 2021 | 6.65% (0.06653) | 90.65th | v1 |
| Apr 14, 2021 | 6.65% (0.06653) | 0.00th | v1 |
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00002.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/105347 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2916 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-15705 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1629521 Issue Tracking
- https://lists.apache.org/thread.html/7f6a16bc0fd0fd5e67c7fd95bd655069a2ac7d1f88e42d3c853e601c%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2018/11/msg00016.html mailing-listx_refsource_MLISTThird Party Advisory
- https://mail-archives.apache.org/mod_mbox/spamassassin-announce/201809.mbox/raw/%3Cc57c0f41-742c-3c3e-249c-ae2614bf0d7d%40apache.org%3E/
- https://nvd.nist.gov/vuln/detail/CVE-2017-15705
- https://security.gentoo.org/glsa/201812-07 vendor-advisoryx_refsource_GENTOO
- https://usn.ubuntu.com/3811-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3811-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-15705
Change history (0)
No recorded changes yet.