[php-src] Issue #24981: [SECURITY] BUG-156: Denial of Service - PCRE2 Regular Expression Denial of Service (ReDoS)

From: Date: Wed, 28 Oct 2026 01:52:02 +0000
Subject: [php-src] Issue #24981: [SECURITY] BUG-156: Denial of Service - PCRE2 Regular Expression Denial of Service (ReDoS)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253434@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24981 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-156 **Category:** Denial of Service **Subcategory:** PCRE2 Regular Expression Denial of Service (ReDoS) **Severity:** Medium **CWE:** CWE-400 **CVSS Score:** 5.5 **File:** ext/pcre/pcre2lib/sljit/allocator_src/sljitProtExecAllocatorPosix.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Complex regular expressions can cause catastrophic backtracking. PCRE2 JIT compilation may allocate executable memory unsafely. ### Impact CPU exhaustion (DoS), potential memory corruption. ### Remediation Add regex complexity limits, use timeouts for pattern matching. ### Exploitability Remote via crafted regex input ### Source - Repository: https://github.com/php/php-src/ - Branch: master - Analysis Date: 2026-10-27T16:38:37.937347Z --- *Auto-generated from static security analysis of php-src.* *Total bugs found: 161*

« previous php.bugs (#253434) next »