Validating untrusted ISO 8601 duration strings into a timedelta field using Pydantic V1 can lead to a denial of service. The `iso8601 duration re` regular expression in `pydantic/datetime parse.py` contains an unescaped `.` character that matches digits. When processing a string of digits, repeated groups overlap, causing the regex engine to backtrack in quadratic time, which significantly slows down validation for inputs of a few dozen kilobytes.