CVE-2018-18385
Asciidoctor in versions < 1.5.8 allows remote attackers to cause a denial of service (infinite loop).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.25%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.25% probability · 83th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-835
- Affected
- asciidoctor/asciidoctor
- Source
- cve@mitre.org
EPSS 2.3% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/asciidoctor/asciidoctor/issues/2888Exploit, Third Party Advisory
- https://github.com/asciidoctor/asciidoctor/issues/2888Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.