Advisory record · GHSA-m5pq-gvj9-9vr8

Rust's regex crate vulnerable to regular expression denial of service

CVSS 7.5 HighCriticalEPSS 0.14 · 96th percentile

Critical, because:

  • CVSS score 7.5 (7.0 or more) and EPSS 0.14 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 8 Mar 2022, 20:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
regexcrates.io<1.5.51.5.5
Identifiers
GHSA-m5pq-gvj9-9vr8 · CVE-2022-24713 · RUSTSEC-2022-0013
Weakness (CWE)
CWE-400 · CWE-1333
Published
8 Mar 2022
Updated
8 Nov 2023

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the regex crate before 1.5.5 are vulnerable to regular expression denial of service. An attacker who can submit regexes to a service that accepts untrusted patterns can craft one that makes parsing take excessive time, causing a denial of service. Upgrade regex to version 1.5.5 or later; the source advises against relying on a blocklist of known problematic regexes.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.14, the 96th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:20 UTC First seen by agentprime
  2. 31 Oct 2026, 15:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.