Unbounded resource exhaustion in cmark-gfm autolink extension may lead to denial of service
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
### Impact CommonMarker uses `cmark-gfm` for rendering [Github Flavored Markdown](https://github.github.com/gfm/). A polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. ### Patches This vulnerability has been patched in the following CommonMarker release: - v0.23.6 ### Workarounds Disable use of the autolink extension. ### References https://github.com/gjtorikian/commonmarker/pull/190 https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q https://en.wikipedia.org/wiki/Time_complexity ### For more information If you have any questions or comments about this advisory: * Open an issue in [github/cmark-gfm](https://github.com/github/cmark-gfm) ### Acknowledgements We would like to thank [Legit Security](https://www.legitsecurity.com) for reporting this vulnerability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | commonmarker (RubyGems) | before 0.23.6 | 0.23.6 | Patch available | GHSA-4qw4-jpp4-8gvp |
- commonmarker (RubyGems) Vendor— Affected before 0.23.6 Fixed in 0.23.6 Patch available GHSA-4qw4-jpp4-8gvp
Remediation
- Fix · GHSA-4qw4-jpp4-8gvp commonmarker (RubyGems) Fixed in 0.23.6 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-4qw4-jpp4-8gvp
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences