CVE-2024-3772: Pydantic regular expression denial of service
Affects pydanticSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.13.4 when convenient.
Data as of 31 Oct 2026, 16:35 UTC
- Patch
- Available – fixed in 2.13.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade pydantic to 2.13.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpydanticpkg:brew/pydanticOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Pydantic to version 2.13.4 or later to remediate this vulnerability. Since a patch is available, applying the official fix is the recommended mitigation.
Description
CVE-2024-3772 is a regular expression denial of service (ReDoS) vulnerability in Pydantic versions prior to 2.13.4. It allows remote attackers to cause a denial of service by submitting a specially crafted email string that triggers excessive processing in the regular expression engine.
References
- nvd.nist.gov/vuln/detail/CVE-2024-3772 (opens in a new tab)
- github.com/pydantic/pydantic/pull/7360 (opens in a new tab)
- github.com/pydantic/pydantic/commit/59d8f38fd6220e3917c53785dbc70317d6f8e631 (opens in a new tab)
- github.com/pydantic/pydantic/commit/e4393ae6145c4dadff739990bb0116c6dec3441b (opens in a new tab)
- github.com/pydantic/pydantic (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6JBZLMSH4GAZOVBMT2JUO2LXHY7M2ALI (opens in a new tab)