CVE-2026-25237 Details
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.
A remote code execution vulnerability has been identified in PEAR versions prior to 1.33.0. The issue arises from the use of preg_replace() with the /e modifier in the mail_bug_updates() function, located in public_html/bugs/include/functions.inc. This combination can lead to PHP code execution if attacker-controlled content, such as bug comments, is processed and escapes the intended quoting context.
Users can upgrade to PEAR version 1.33.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pear/pearweb/security/advisories/GHSA-vhw6-hqh9-8r23 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-624 | Executable Regular Expression Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pear pearweb | < 1.33.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 5, 2026 | Initial Analysis | [email protected] |
| Feb 3, 2026 | New CVE Received | [email protected] |