# CVE-2023-26302: markdown-it-py CLI crash on invalid UTF-8 characters

- Severity: Low 3.3 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2023-02-22T22:02:35.556Z
- Modified: 2026-06-17T05:43:01.623Z
- Also known as: GHSA-jrwr-5x3p-hvc3, PYSEC-2023-23
- Weaknesses: CWE-173
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## Description

Denial of service could be caused to the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.

(As written by CVE List.)

## Affected

- markdown-it-py: before v2.2.0
- markdown-it-py (PyPI): before 2.2.0; before 53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c
- executablebooks markdown-it-py: before 2.2.0

## Every score

- canonical: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.5 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26302> (advisory)
- <https://github.com/executablebooks/markdown-it-py/pull/247> (web)
- <https://github.com/executablebooks/markdown-it-py> (package)
- <https://github.com/executablebooks/markdown-it-py/releases/tag/v2.2.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/markdown-it-py/PYSEC-2023-23.yaml> (web)
- <https://github.com/advisories/GHSA-jrwr-5x3p-hvc3> (advisory)

## Sources

- CVE List: [CVE-2023-26302](https://www.cve.org/CVERecord?id=CVE-2023-26302), CVE Terms of Use, modified 2025-03-11
- GitHub Advisory Database: [GHSA-jrwr-5x3p-hvc3](https://github.com/advisories/GHSA-jrwr-5x3p-hvc3), CC-BY-4.0, modified 2024-09-30
- NVD: [CVE-2023-26302](https://nvd.nist.gov/vuln/detail/CVE-2023-26302), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-23](https://osv.dev/vulnerability/PYSEC-2023-23), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-26302 · Whole record: https://cve.day/CVE-2023-26302.json · Rebuilt by cve.day 2026-11-25T22:58:22.113Z
