# GHSA-7vh7-fw88-wj87: Several quadratic complexity bugs may lead to denial of service in Commonmarker

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-08-08T17:12:00.000Z
- Modified: 2024-12-01T05:31:38.658Z
- Weaknesses: CWE-407

## Description

## Impact

Several quadratic complexity bugs in commonmarker's underlying [`cmark-gfm`](https://github.com/github/cmark-gfm) library may lead to unbounded resource exhaustion and subsequent denial of service.

The following vulnerabilities were addressed:

* [CVE-2023-37463](https://github.com/github/cmark-gfm/security/advisories/GHSA-w4qg-3vf7-m9x5)

For more information, consult the release notes for version [`0.29.0.gfm.12`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.12).

## Mitigation

Users are advised to upgrade to commonmarker version [`0.23.10`](https://rubygems.org/gems/commonmarker/versions/0.23.10).

(As written by GitHub Advisory Database.)

## Affected

- commonmarker (RubyGems): before 0.23.10

## References

- <https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-7vh7-fw88-wj87> (web)
- <https://github.com/gjtorikian/commonmarker/commit/db8cd377b54541f7fd484d168b7682a282a680f7> (web)
- <https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.12> (web)
- <https://github.com/gjtorikian/commonmarker> (package)
- <https://rubygems.org/gems/commonmarker/versions/0.23.10> (web)

## Sources

- GitHub Advisory Database: [GHSA-7vh7-fw88-wj87](https://github.com/advisories/GHSA-7vh7-fw88-wj87), CC-BY-4.0, modified 2024-12-01

---

Page: https://cve.day/GHSA-7vh7-fw88-wj87 · Whole record: https://cve.day/GHSA-7vh7-fw88-wj87.json · Rebuilt by cve.day 2026-11-25T22:56:41.220Z
