# CVE-2017-15705: A denial of service vulnerability was identified that exists in Apache SpamAssassin before 3.4.2. The vulnerability ari…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 7.78% (percentile 95, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2018-09-17T14:00:00.000Z
- **Modified:** 2026-06-17T01:08:07.693Z

## Who should check

- Anyone running Apache Software Foundation Apache SpamAssassin all modern versions before 3.4.2

## 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 and fixed versions

- Apache Software Foundation Apache SpamAssassin: all modern versions before 3.4.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-15705. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-15705.md
Affected: Apache Software Foundation Apache SpamAssassin all modern versions before 3.4.2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache SpamAssassin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-15705 being exploited?

There is no confirmed exploitation: CVE-2017-15705 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 7.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-15705?

Medium: CVSS 5.3 (v3.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2017-15705?

Apache Software Foundation Apache SpamAssassin all modern versions before 3.4.2.

### Is there a fix for CVE-2017-15705?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2017-15705?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://usn.ubuntu.com/3811-2/>
- vendor: <https://usn.ubuntu.com/3811-1/>
- vendor: <https://security.gentoo.org/glsa/201812-07>
- vendor: <https://access.redhat.com/errata/RHSA-2018:2916>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00002.html>
- other: <https://lists.apache.org/thread.html/7f6a16bc0fd0fd5e67c7fd95bd655069a2ac7d1f88e42d3c853e601c%40%3Cannounce.apache.org%3E>
- other: <http://www.securityfocus.com/bid/105347>
- other: <https://lists.debian.org/debian-lts-announce/2018/11/msg00016.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-15705>

HTML: <https://flawdb.com/CVE-2017-15705> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-15705>
