GHSA-cvfq-f547-rv2g: Denial of service in email validation via oversized Unicode domains
- Published:
- Fetched:
- Updated:
- Affects:
- laravel laravel/framework
https://github.com/laravel/framework/security/advisories/GHSA-cvfq-f547-rv2g ↗
Denial of service in email validation via oversized Unicode domains ### Impact Applications using the default Laravel email validation rule on untrusted input can be exposed to excessive CPU and memory consumption when validating oversized email addresses with specially crafted non-ASCII domains. The reported attack triggers expensive Unicode normalization during native IDN conversion when the PHP intl extension is enabled. An unauthenticated attacker who can submit values to an endpoint using this rule may occupy PHP workers and degrade application availability. Exposure depends on application input limits and deployment configuration. ### Patches Laravel Framework 12.72.0 and 13.43.0 reject email addresses longer than 254 bytes before invoking the email validator. Upgrade to a patched release in your maintenance line. The Laravel-side mitigation was introduced in https://github.com/laravel/framework/pull/62347. ### Workarounds Ensure oversized email inputs are rejected before email validation runs. For example, place the bail and max:254 rules before email, using bail|max:254|email. Configure appropriate request-body limits as additional protection. ### References - https://github.com/laravel/framework/releases/tag/v12.72.0 - https://github.com/laravel/framework/releases/tag/v13.43.0 Affected packages: composer:laravel/framework Patched: laravel/framework >=12.72.0, laravel/framework >=13.43.0