CVE-2023-26302 json
markdown-it-py CLI crash on invalid UTF-8 characters
published 2023-02-22 3 y ago modified 2026-06-17 4 mo ago also GHSA-jrwr-5x3p-hvc3 , PYSEC-2023-23 , EUVD-2023-0130
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi markdown-it-py 2.2.0
- Executable Books markdown-it-py commit 53ca3e9, v2.2.0
- markdown-it-py Debian 14, Debian 13, Debian 12 2.1.0-5
debian advisories DEBIAN-CVE-2023-26302
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-26302 updated cvss 5.5
markdown-it-py: Denial of service in the command line interface due to invalid UTF-8 characters as input.
-
Red Hat Ansible Automation Platform 2 ansible-lint, ansible-navigator, python-ansible-compat, python3x-ansible-compatnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | markdown-it-py | <2.2.0 |
2.2.0 |
Affected products
- Executable Books markdown-it-py
Classification
- Weakness
-
- CWE-173 Improper Handling of Alternate Encoding
References
-
github.com
/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c
patch, web
-
github.com
/executablebooks/markdown-it-py/pull/247
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-26302
advisory
-
github.com
/executablebooks/markdown-it-py
package
-
github.com
/executablebooks/markdown-it-py/releases/tag/v2.2.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/markdown-it-py/PYSEC-2023-23.yaml
web
-
github.com
/advisories/GHSA-jrwr-5x3p-hvc3
advisory
Sources
- CVE List CVE-2023-26302
- GitHub Advisory GHSA-jrwr-5x3p-hvc3
- NVD CVE-2023-26302
- OSV PYSEC-2023-23
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.