Integer underflow in ModSecurity - CVE-2026-42268
Published: April 29, 2026
ModSecurity
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to integer underflow in @verifySSN, @verifyCPF, and @verifySVNR operators when processing empty input. A remote attacker can send a specially crafted request to cause a denial of service.
Exploitation requires a rule using one of these operators to be configured, and an uncaught std::out_of_range exception reaches std::terminate() and kills the process.