Skip to content
Fencer Vulns
medium 5.9

CVE-2024-3772 json

Regular expression denial of service in Pydantic < 2.4.0

published 2024-04-15 2 y ago modified 2026-08-07 3 mo ago also GHSA-mr82-8j83-vxmv , PYSEC-2026-1812 , EUVD-2024-1252

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

Regular expression denial of service in Pydanic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.

Patch / fix

  • pypi pydantic 1.10.13, 2.4.0
  • Pydantic Pydantic 1.10.13, 2.4.0
  • pydantic_project pydantic 1.10.13
  • pydantic Debian 12 1.10.4-1+deb12u1
  • pydantic Debian 14, Debian 13 1.10.13-0.1

debian advisories DEBIAN-CVE-2024-3772

  • pydantic Ubuntu Pro 20.04 LTS 1.2-1ubuntu0.1~esm3
  • pydantic Ubuntu Pro 22.04 LTS 1.8.2-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-3772

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • receptor ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1.4.8-1.el8ap
  • receptor ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1.4.8-1.el9ap
  • python-idna ansible automation platform developer 2.4, ansible automation platform 2.4 3.7-1.el9ap
  • receptorctl ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1.4.8-1.el8ap
  • receptorctl ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1.4.8-1.el9ap
  • python-black ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 22.8.0-2.el9ap
  • python3-idna ansible automation platform developer 2.4, ansible automation platform 2.4 3.7-1.el9ap
  • python-jinja2 ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.1.4-1.el9ap

red hat advisories RHSA-2024:3781

  • python-pydantic SLE Module for Python 3 15 SP6, SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.6 1.10.8-150400.9.10.1

suse advisories SUSE-SU-2025:0310-1

  • python-pydantic openSUSE Tumbleweed 2.13.4-2.1

opensuse advisories openSUSE-SU-2026:11424-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-3772 updated cvss 5.9

python-pydantic: regular expression denial of service via crafted email string

  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-pydantic 1.10.15-1.el8ap, python3x-pydantic 1.10.15-1.el8ap, automation-controller-venv-tower 4.5.7-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-pydantic 1.10.15-1.el9ap, python3-pydantic 1.10.15-1.el9ap, automation-controller-venv-tower 4.5.7-1.el9ap
    fixed: vendor fix RHSA-2024:3781
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 receptor 1.4.8-1.el8ap, python39-idna 3.7-1.el8ap, python3x-idna 3.7-1.el8ap, receptorctl 1.4.8-1.el8ap, ansible-core 2.15.11-1.el8ap, ansible-test 2.15.11-1.el8ap, +36 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 receptor 1.4.8-1.el9ap, python-idna 3.7-1.el9ap, python3-idna 3.7-1.el9ap, receptorctl 1.4.8-1.el9ap, python-black 22.8.0-2.el9ap, python-jinja2 3.1.4-1.el9ap, +36 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/pydantic/pydantic/pull/7360 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi pydantic
>=2.0.0, <2.4.0
<1.10.13
2.4.0
1.10.13

Affected products

  • Pydantic Pydantic
  • pydantic_project pydantic

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.