Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2022-24713: Regular expression denial of service in Rust's regex crate

Noroxi assessment

Priority: Monitor (action score 34/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 14.4% (FIRST EPSS); higher than 96.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: firefox (AlmaLinux:8) 91.8.0-1.el8_5.alma; thunderbird (AlmaLinux:8) 91.8.0-1.el8_5.alma, 91.8.0-1.el8_5.alma.plus; regex (crates.io) 1.5.5.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to firefox (AlmaLinux:8) 91.8.0-1.el8_5.alma; thunderbird (AlmaLinux:8) 91.8.0-1.el8_5.alma, 91.8.0-1.el8_5.alma.plus; regex (crates.io) 1.5.5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—Proof of concept Fix available
Published
Mar 8, 2022
Updated
Jun 17, 2026
EPSS
14.4% · 96th percentile

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
4 / 30 · 14.4%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · GitHub_M
7.5
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-24713

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
rust-langregex
fedoraprojectfedora
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux11.0
  • debian debian linux9.0
  • fedoraproject fedora34
  • fedoraproject fedora35
  • fedoraproject fedora36
  • rust-lang regexbefore 1.5.5

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • rust-lang regex

    • < 1.5.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8firefoxbefore 91.8.0-1.el8_5.alma91.8.0-1.el8_5.alma
AlmaLinux:8thunderbirdbefore 91.8.0-1.el8_5.alma91.8.0-1.el8_5.alma
AlmaLinux:8thunderbirdbefore 91.8.0-1.el8_5.alma.plus91.8.0-1.el8_5.alma.plus
crates.ioregexfrom 0.0.0-0 · before 1.5.51.5.5
crates.ioregexbefore 1.5.51.5.5
Debian:10firefox-esrbefore 91.8.0esr-1~deb10u191.8.0esr-1~deb10u1
Debian:10thunderbirdbefore 1:91.8.0-1~deb10u11:91.8.0-1~deb10u1
Debian:11firefox-esrbefore 91.8.0esr-1~deb11u191.8.0esr-1~deb11u1
Debian:11thunderbirdbefore 1:91.8.0-1~deb11u11:91.8.0-1~deb11u1
Debian:12firefox-esrbefore 91.8.0esr-191.8.0esr-1
Debian:12rust-regexbefore 1.5.5-11.5.5-1
Debian:12thunderbirdbefore 1:91.8.0-11:91.8.0-1
Debian:9firefox-esrbefore 91.8.0esr-1~deb9u191.8.0esr-1~deb9u1
Debian:9thunderbirdbefore 1:91.8.0-1~deb9u11:91.8.0-1~deb9u1
openSUSE:Leap 15.3MozillaFirefoxbefore 91.8.0-150200.152.26.191.8.0-150200.152.26.1
openSUSE:Leap 15.3MozillaThunderbirdbefore 91.8.0-150200.8.65.191.8.0-150200.8.65.1
openSUSE:Leap 15.3rustupbefore 1.25.1~0-150300.7.13.21.25.1~0-150300.7.13.2
openSUSE:Leap 15.3sccachebefore 0.3.0~git5.14a4b8b-150300.7.9.10.3.0~git5.14a4b8b-150300.7.9.1
openSUSE:Leap 15.4aws-nitro-enclaves-clibefore 1.2.2~git0.4ccc639-150400.3.3.11.2.2~git0.4ccc639-150400.3.3.1
openSUSE:Leap 15.4sccachebefore 0.4.2~3-150400.3.3.10.4.2~3-150400.3.3.1
openSUSE:Leap 15.6kanidmbefore 1.3.3~git0.f075d13-bp156.4.11.3.3~git0.f075d13-bp156.4.1
openSUSE:Tumbleweedbatbefore 0.21.0-1.10.21.0-1.1
openSUSE:Tumbleweedcargo-auditbefore 0.16.0~git0.625c965-3.10.16.0~git0.625c965-3.1
openSUSE:Tumbleweedfirecrackerbefore 1.0.0-2.11.0.0-2.1

+59

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:firefox91.8.0-1.el8_5.alma · AlmaLinux:8Package registry (OSV)
almalinux:thunderbird91.8.0-1.el8_5.alma · AlmaLinux:8Package registry (OSV)
crates.io:regex1.5.5Package registry (OSV)
debian:firefox-esr91.8.0esr-1 · Debian:12Package registry (OSV)
debian:rust-regex1.5.5-1 · Debian:12Package registry (OSV)
debian:thunderbird1:91.8.0-1 · Debian:12Package registry (OSV)
opensuse:aws-nitro-enclaves-cli1.2.2~git0.4ccc639-150400.3.3.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:cargo-audit0.16.0~git0.625c965-3.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:juliaup1.5.37-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:kanidm1.3.3~git0.f075d13-bp156.4.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:macchina6.0.6~git0.c21ce78-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:MozillaFirefox91.8.0-150200.152.26.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:MozillaThunderbird91.8.0-150200.8.65.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:rage-encryption0.7.1+0-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:rustup1.25.1~0-150300.7.13.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:sccache0.3.0~git5.14a4b8b-150300.7.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:treefetch2.0.0~git0.5b3eac1-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:tuigreet0.7.1-4.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:firefox0:91.8.0-1.el8_1 · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:firefox-debuginfo0:91.8.0-1.el8_1 · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:firefox-debugsource0:91.8.0-1.el8_1 · Red Hat:rhel_e4s:8.1::appstreamPackage registry (OSV)
red hat:thunderbird0:91.8.0-1.el8_5 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:thunderbird-debuginfo0:91.8.0-1.el8_5 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:thunderbird-debugsource0:91.8.0-1.el8_5 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:firefox0:91.8.0-1.el8_5 · Rocky Linux:8Package registry (OSV)
rocky linux:thunderbird0:91.8.0-1.el8_5 · Rocky Linux:8Package registry (OSV)
suse:afterburn5.9.0.git21.a73f509-150300.3.5.1 · SUSE:Linux Enterprise Micro 5.2Package registry (OSV)
suse:aws-nitro-enclaves-cli1.2.2~git0.4ccc639-150400.3.3.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP4Package registry (OSV)
suse:kanidm1.3.3~git0.f075d13-bp156.4.1 · SUSE:Package Hub 15 SP6Package registry (OSV)
suse:MozillaFirefox91.8.0-112.98.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)

+3

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02022-06-05

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+88 d
  3. TodayNov 2, 2026+1700 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records