GHSA-4qw4-jpp4-8gvp
Unbounded resource exhaustion in cmark-gfm autolink extension may lead to denial of service
Impact
CommonMarker uses cmark-gfm for rendering Github Flavored Markdown. 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
Acknowledgements
We would like to thank Legit Security for reporting this vulnerability.
What each source reports
GitHub AdvisoriesNo score
Unbounded resource exhaustion in cmark-gfm autolink extension may lead to denial of service
Impact
CommonMarker uses cmark-gfm for rendering Github Flavored Markdown. 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
Acknowledgements
We would like to thank Legit Security for reporting this vulnerability.
- Record
GHSA-4qw4-jpp4-8gvp- Weakness
- CWE-400
- Updated
- 2026-11-02
OSVNo score
Unbounded resource exhaustion in cmark-gfm autolink extension may lead to denial of service
Impact
CommonMarker uses cmark-gfm for rendering Github Flavored Markdown. 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
Acknowledgements
We would like to thank Legit Security for reporting this vulnerability.
- Record
GHSA-4qw4-jpp4-8gvp- Weakness
- CWE-400
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
commonmarkerRubyGems | before 0.23.6 | 0.23.6 |
commonmarkerRubyGems | before 0.23.6, plus listed versions 0.0.10.1.00.1.10.1.20.1.3 Show 45 moreShow less0.10.00.11.00.12.00.13.00.14.00.14.10.14.110.14.120.14.130.14.140.14.150.14.20.14.30.14.40.14.50.14.60.14.70.14.80.14.90.15.00.16.00.16.10.16.20.16.30.16.40.16.50.16.60.16.70.16.80.17.00.17.10.17.100.17.110.17.120.17.130.17.20.17.40.17.50.17.60.17.70.17.7.10.17.80.17.90.18.00.18.1 | 0.23.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-4qw4-jpp4-8gvp is a vulnerability with no CVSS score yet in commonmarker, published September 21, 2022. No source lists public exploit code. Fixed in commonmarker 0.23.6.
References
Left out here: 27 versions. The JSON record has them.