CVE catalog

CVE-2017-15705

spamassassin: CVE-2017-15705

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
7.88% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianspamassassinsid4.0.3~rc1-1fixed
Debianspamassassinforky4.0.2+svn1939112-1fixed
Debianspamassassintrixie4.0.1-5fixed
Debianspamassassinbookworm4.0.1-1~deb12u1fixed
Alpinespamassassin3.103.4.2-r0fixed
Alpinespamassassin3.113.4.2-r0fixed
Alpinespamassassin3.123.4.2-r0fixed
Alpinespamassassin3.133.4.2-r0fixed
Alpinespamassassin3.143.4.2-r0fixed
Alpinespamassassin3.153.4.2-r0fixed
Alpinespamassassin3.163.4.2-r0fixed
Alpinespamassassin3.173.4.2-r0fixed
Alpinespamassassin3.183.4.2-r0fixed
Alpinespamassassin3.193.4.2-r0fixed
Alpinespamassassin3.203.4.2-r0fixed
Alpinespamassassin3.213.4.2-r0fixed
Alpinespamassassin3.223.4.2-r0fixed
Alpinespamassassin3.233.4.2-r0fixed
Alpinespamassassin3.243.4.2-r0fixed
Alpinespamassassin3.83.4.3-r0fixed
Alpinespamassassin3.93.4.2-r0fixed
Ubuntuspamassassin14.043.3.2-6ubuntu2vulnerable
Ubuntuspamassassin14.043.3.2-8ubuntu1vulnerable
Ubuntuspamassassin14.043.3.2-8ubuntu2vulnerable
Ubuntuspamassassin14.043.4.0-1vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu1vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu2vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu2.1vulnerable
Ubuntuspamassassin14.043.4.2-0ubuntu0.14.04.1fixed
Ubuntuspamassassin16.043.4.1-1vulnerable
Ubuntuspamassassin16.043.4.1-2vulnerable
Ubuntuspamassassin16.043.4.1-3vulnerable
Ubuntuspamassassin16.043.4.2-0ubuntu0.16.04.1fixed
Ubuntuspamassassin18.043.4.1-7vulnerable
Ubuntuspamassassin18.043.4.1-8vulnerable
Ubuntuspamassassin18.043.4.1-8build1vulnerable
Ubuntuspamassassin18.043.4.2-0ubuntu0.18.04.1fixed
Ubuntuspamassassin14.043.3.2-6ubuntu2vulnerable
Ubuntuspamassassin14.043.3.2-8ubuntu1vulnerable
Ubuntuspamassassin14.043.3.2-8ubuntu2vulnerable
Ubuntuspamassassin14.043.4.0-1vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu1vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu2vulnerable
Ubuntuspamassassin14.043.4.0-1ubuntu2.1vulnerable
Ubuntuspamassassin14.043.4.2-0ubuntu0.14.04.1fixed
Ubuntuspamassassin16.043.4.1-1vulnerable
Ubuntuspamassassin16.043.4.1-2vulnerable
Ubuntuspamassassin16.043.4.1-3vulnerable
Ubuntuspamassassin16.043.4.2-0ubuntu0.16.04.1fixed
Ubuntuspamassassin18.043.4.1-7vulnerable
Ubuntuspamassassin18.043.4.1-8vulnerable
Ubuntuspamassassin18.043.4.1-8build1vulnerable
Ubuntuspamassassin18.043.4.2-0ubuntu0.18.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianspamassassinsourcesid3.4.2-1not yet assignedNot reported[908969]
Debianspamassassinsourceforky3.4.2-1not yet assignedNot reported[908969]
Debianspamassassinsourcetrixie3.4.2-1not yet assignedNot reported[908969]
Debianspamassassinsourcebookworm3.4.2-1not yet assignedNot reported[908969]
Alpinespamassassinapk3.103.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.113.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.123.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.133.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.143.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.153.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.163.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.173.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.183.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.193.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.203.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.213.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.223.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.233.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.243.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.83.4.3-r0Not reportedALPINE-CVE-2017-15705Not reported
Alpinespamassassinapk3.93.4.2-r0Not reportedALPINE-CVE-2017-15705Not reported
Ubuntuspamassassindeb14.043.4.2-0ubuntu0.14.04.1Not reportedUSN-3811-1Not reported
Ubuntuspamassassindeb16.043.4.2-0ubuntu0.16.04.1Not reportedUSN-3811-1Not reported
Ubuntuspamassassindeb18.043.4.2-0ubuntu0.18.04.1Not reportedUSN-3811-1Not reported
Ubuntuspamassassindeb14.043.4.2-0ubuntu0.14.04.1Not reportedUBUNTU-CVE-2017-15705Not reported
Ubuntuspamassassindeb16.043.4.2-0ubuntu0.16.04.1Not reportedUBUNTU-CVE-2017-15705Not reported
Ubuntuspamassassindeb18.043.4.2-0ubuntu0.18.04.1Not reportedUBUNTU-CVE-2017-15705Not reported

[Debian bug #908969]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [sa-compile]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

  • Details (2)
    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

  • [spamc]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-1~deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

    • 4.0.1-1~deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

  • [spamd]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

    • 4.0.1-1~deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · bookworm; dsa · spamassassin · debian · 12

[Debian 13 (Trixie)]

  • [sa-compile]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

  • Details (2)
    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

  • [spamc]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-5 · amd64 · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

    • 4.0.1-5 · arm64 · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

  • [spamd]Fixed

    Source package: [spamassassin]

    Details (2)
    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

    • 4.0.1-5 · all · trixie

      Fixed · Fixed: 3.4.2-1

      dsa · spamassassin · debian · 13

Observed:

References