AI analysis
PCRE2, the widely embedded open-source regular-expression library, contains an integer overflow (CWE-190) in its pcre2_compile_32 function on 32-bit platforms, which can result in an out-of-bounds write. It is triggered when an application running a vulnerable PCRE2 build (before 10.48) on a 32-bit platform compiles a crafted regular expression meeting the specific memory-size conditions implied by the high attack complexity score. An attacker who can get such a pattern compiled gains memory corruption with high integrity impact and low availability impact per the CVSS score, meaning tampering or possible crashes rather than data disclosure. Anyone deploying PCRE2 before 10.48 on 32-bit builds is affected, including downstream distributions, language runtimes and appliances that bundle the library; 64-bit deployments are not described as affected. There is no public proof-of-concept, the flaw is not in CISA KEV, and no in-the-wild exploitation is known; the fix shipped with the PCRE2 10.48 release.
What to do: Upgrade PCRE2 to 10.48 or later, or install a vendor/distribution package that backports the fix, and rebuild any statically linked or bundled copies. As mitigation, restrict or validate untrusted regular expressions compiled by 32-bit builds. Inventory 32-bit (i386 / 32-bit ARM) deployments and applications that expose regex compilation to untrusted input, since those are the only ones affected.
Affected
| PCRE2 project PCRE2 regular expression library | all versions before 10.48, on 32-bit platforms |
Estimated exposure
masslikely >1,000,000 users/systems ship vulnerable 32-bit PCRE2 builds (precise count unknown) — PCRE2 is bundled by major Linux distributions, common server software such as PHP, and countless embedded and legacy 32-bit images, so although 32-bit builds are now a minority they plausibly number in the millions; no public scan isolates…
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description
PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of-bounds write.