black has 3 CVEs on record between 2024 and 2026. 1 was published in the last 90 days. The median CVSS is 7.6 (high), with 1 rated critical.
CVEs per month
Last 12 months, by publish date
1125/111225/120126/010226/020326/030426/040526/050626/060726/070826/080926/091026/10
- Exploited share
- 0% vs 1% corpus
- Median CVSS
- 7.6
- Publish → KEV
- —
- Last 90 days
- 1 prev 0
Weakness classes
Products
- black 3
3
Total CVEs
1
Critical
0
CISA KEV
0
Exploited
Worst active — by depth score
CVE-2026-31900Critical· 9.8Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, us…66CVE-2026-114134HighBlack: GitHub Action installs unvalidated required-version from pyproject.toml41CVE-2024-21503Medium· 5.3Black vulnerable to Regular Expression Denial of Service (ReDoS)29
black vulnerabilities
CVEs affecting black, newest first. Open any entry for full detail, references, and exploit status.
3 CVEsRSS
CVE-2026-114134HighBlack: GitHub Action installs unvalidated required-version from pyproject.toml
Black: GitHub Action installs unvalidated required-version from pyproject.toml
▾ Twilightblack · blackvia OSV
CVE-2026-31900Critical· 9.8PoCBlack is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, us…
Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A mal…
▾ Abyssalblack · blackEPSS 0.48%via OSV
CVE-2024-21503Medium· 5.3Black vulnerable to Regular Expression Denial of Service (ReDoS)
Black vulnerable to Regular Expression Denial of Service (ReDoS)
▾ Sunlitblack · blackEPSS 0.98%via OSV