CVE-2022-24713 in Debian Linux and 2 more products
regex is an implementation of regular expressions for the Rust language. The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This gu...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Fedoraproject | Fedora | 34 35 36 |
| Rust-Lang | Regex | < 1.5.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
regex is an implementation of regular expressions for the Rust language. The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This guarantee is documented and it's considered part of the crate's API. Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and it's possible to craft regexes that bypass such mitigations. This makes it possible to perform denial of service attacks by sending specially crafted regexes to services accepting user-controlled, untrusted regexes. All versions of the regex crate before or equal to 1.5.4 are affected by this issue. The fix is include starting from regex 1.5.5. All users accepting user-controlled regexes are recommended to upgrade immediately to the latest version of the regex crate. Unfortunately there is no fixed set of problematic regexes, as there are practically infinite regexes that could be crafted to exploit this vulnerability. Because of this, it us not recommend to deny known problematic regexes.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-24713 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-254957-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-03-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400, CWE-1333
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the regex crate for Rust could allow for denial of service attacks despite built-in mitigations. The issue arises from the potential bypass of these mitigations under certain conditions.
An attacker could craft a specific regular expression or input that bypasses the built-in mitigations in the regex crate, leading to excessive resource consumption and potential denial of service.
Questions
What is CVE-2022-24713?
A vulnerability in the regex crate for Rust could allow for denial of service attacks despite built-in mitigations. The issue arises from the potential bypass of these mitigations under certain conditions.
What is the CVSS score for CVE-2022-24713?
CVE-2022-24713 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 12.5%.
Is CVE-2022-24713 actively exploited?
No confirmed active exploitation of CVE-2022-24713 as of 2026-09-25.
How do I remediate CVE-2022-24713?
Priority: MEDIUM.
What systems are affected by CVE-2022-24713?
CVE-2022-24713 affects Debian Debian Linux; Fedoraproject Fedora; Rust-Lang Regex.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.