CVE-2026-25237 PEAR is Vulnerable to PHP Code Execution via preg_replace /e in Bug Update Emails

Critical 9.2 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-25237?

CVE-2026-25237 is a critical vulnerability in pearweb, published on 3 Feb 2026.

Official description

PEAR is a framework and distribution system for reusable PHP components. Prior to version 1.33.0, use of preg_replace() with the /e modifier in bug update email handling can enable PHP code execution if attacker-controlled content reaches the evaluated replacement. This issue has been patched in version 1.33.0.

Weakness: CWE-624

Which versions are affected by CVE-2026-25237?

It affects 1 product.

Products include Pear Pearweb.

How do I fix CVE-2026-25237?

No fix has been published for CVE-2026-25237 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-25237 being exploited?

There is no known exploitation of CVE-2026-25237 in the wild and no public exploit code.

Sources

Also known as GHSA-vhw6-hqh9-8r23.

Is CVE-2026-25237 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free