CVE Catalog

CVE-2026-25863

High
Published: Translated: NVD NIST

Summary

The Conditional Fields for Contact Form 7 WordPress plugin through version 2.7.2 contains an uncontrolled resource consumption vulnerability in the Wpcf7cfMailParser class. The hide_hidden_mail_fields_regex_callback() method reads an iteration count directly from user-supplied POST parameters without validation, allowing unauthenticated attackers to execute unbounded loops.

Risk Assessment

Attackers can exploit this vulnerability by supplying a large integer value through the REST API endpoint, leading to server memory exhaustion and crashing the PHP process. This may result in service downtime and loss of application availability.

Recommendation

It is recommended to update the plugin to the latest version to mitigate this vulnerability. Additionally, implementing limits on POST parameter values can help prevent uncontrolled resource consumption.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS