# CVE-2024-44337: Infinite loop in github.com/gomarkdown/markdown

- Severity: Medium 5.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-10-15T00:00:00.000Z
- Modified: 2026-09-10T03:50:20.197Z
- Also known as: GHSA-xhr3-wf7j-h255, GO-2024-3205
- Related: CGA-qwxx-v2r2-mhxp
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/gomarkdown/markdown (Go): before 0.0.0-20240729212818-a2a9c4f76ef5

## Every score

- CISA-ADP: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/gomarkdown/markdown/commit/a2a9c4f76ef5a5c32108e36f7c47f8d310322252> (fix, web)
- <https://github.com/Brinmon/CVE-2024-44337> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-44337> (advisory)
- <https://github.com/gomarkdown/markdown> (package)
- <https://pkg.go.dev/vuln/GO-2024-3205> (web)
- <https://github.com/advisories/GHSA-xhr3-wf7j-h255> (advisory)

## Sources

- CVE List: [CVE-2024-44337](https://www.cve.org/CVERecord?id=CVE-2024-44337), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-xhr3-wf7j-h255](https://github.com/advisories/GHSA-xhr3-wf7j-h255), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3205](https://pkg.go.dev/vuln/GO-2024-3205), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-44337](https://nvd.nist.gov/vuln/detail/CVE-2024-44337), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-44337 · Whole record: https://cve.day/CVE-2024-44337.json · Rebuilt by cve.day 2026-11-25T22:58:46.802Z
