Advisory

PYSEC-2026-1812

Also known as: CVE-2024-3772, GHSA-mr82-8j83-vxmv

Summary

Pydantic regular expression denial of service

Details

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

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

pydantic

PyPI · All systems

Affected

  • introduced 0, fixed 1.10.13, introduced 2.0.0, fixed 2.4.0 (ecosystem)

Fixed versions

1.10.13, 2.4.0

Fix

  • Fixed version 1.10.13
    pip install --upgrade pydantic==1.10.13
  • Fixed version 2.4.0
    pip install --upgrade pydantic==2.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences