CVE catalog

CVE-2018-18385

asciidoctor: CVE-2018-18385

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.25% · Oct 25, 2026

Asciidoctor in versions < 1.5.8 allows remote attackers to cause a denial of service (infinite loop). The loop was caused by the fact that Parser.next_block was not exhausting all the lines in the reader as the while loop expected it would. This was happening because the regular expression that detects any list was not agreeing with the regular expression that detects a specific list type. So the line kept getting pushed back onto the reader, hence causing the loop.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianasciidoctorsid2.0.26-2fixed
Debianasciidoctorforky2.0.26-2fixed
Debianasciidoctortrixie2.0.23-1fixed
Debianasciidoctorbookworm2.0.18-2fixed
Ubuntuasciidoctor16.041.5.2-2vulnerable
Ubuntuasciidoctor16.041.5.3-1vulnerable
Ubuntuasciidoctor16.041.5.4-1vulnerable
Ubuntuasciidoctor18.041.5.5-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianasciidoctorsourcesid1.5.8-1lowNot reported[913892]
Debianasciidoctorsourceforky1.5.8-1lowNot reported[913892]
Debianasciidoctorsourcetrixie1.5.8-1lowNot reported[913892]
Debianasciidoctorsourcebookworm1.5.8-1lowNot reported[913892]

[Debian bug #913892]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

  • Source package: [asciidoctor]

    Details (2)
    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

  • Source package: [asciidoctor]

    Details (2)
    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

    • 2.0.18-2 · all · bookworm

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

  • Source package: [asciidoctor]

    Details (2)
    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

  • Source package: [asciidoctor]

    Details (2)
    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

    • 2.0.23-1 · all · trixie

      Fixed · Fixed: 1.5.8-1

      dsa · asciidoctor · debian · 13

Observed:

References