
CVE catalog
CVE-2018-18385
asciidoctor: CVE-2018-18385
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | asciidoctor | sid | 2.0.26-2 | fixed |
| Debian | asciidoctor | forky | 2.0.26-2 | fixed |
| Debian | asciidoctor | trixie | 2.0.23-1 | fixed |
| Debian | asciidoctor | bookworm | 2.0.18-2 | fixed |
| Ubuntu | asciidoctor | 16.04 | 1.5.2-2 | vulnerable |
| Ubuntu | asciidoctor | 16.04 | 1.5.3-1 | vulnerable |
| Ubuntu | asciidoctor | 16.04 | 1.5.4-1 | vulnerable |
| Ubuntu | asciidoctor | 18.04 | 1.5.5-1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [asciidoctor]Fixed
Details (2)
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
- [asciidoctor-doc]Fixed
Source package: [asciidoctor]
Details (2)
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
- [ruby-asciidoctor]Fixed
Source package: [asciidoctor]
Details (2)
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
2.0.18-2· all · bookwormFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · bookworm; dsa · asciidoctor · debian · 12
[Debian 13 (Trixie)]
- [asciidoctor]Fixed
Details (2)
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
- [asciidoctor-doc]Fixed
Source package: [asciidoctor]
Details (2)
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
- [ruby-asciidoctor]Fixed
Source package: [asciidoctor]
Details (2)
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
2.0.23-1· all · trixieFixed · Fixed:
1.5.8-1dsa · asciidoctor · debian · 13
Observed: