CVE-2026-25863
Description
Conditional Fields for Contact Form 7 WordPress plugin through version 2.7.2 contains an uncontrolled resource consumption vulnerability in the Wpcf7cfMailParser class where the hide_hidden_mail_fields_regex_callback() method reads an iteration count directly from user-supplied POST parameters without validation or upper bound enforcement. Unauthenticated attackers can supply an arbitrarily large integer value through the REST API endpoint to cause unbounded loop execution with multiple preg_replace() operations, exhausting server memory and crashing the PHP process.
Affected WordPress components
-
Conditional Fields for Contact Form 7 Plugin · cf7-conditional-fieldsBefore 2.7.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Jules Colle Conditional Fields for Contact Form 7 — Before 2.7.3
References
- wordpress.org https://wordpress.org/plugins/cf7-conditional-fields/#developers
- www.vulncheck.com https://www.vulncheck.com/advisories/conditional-fields-for-contact-form-7-dos-via-uncontrolled-resource-consumption
- nvd.nist.gov Official NVD record