CVE-2026-25237

PEAR is Vulnerable to PHP Code Execution via preg_replace /e in Bug Update Emails

State
Published
Severity
9.2 Critical
Published
Feb 3, 2026
Updated
Feb 4, 2026
Reserved
Jan 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-624 Executable Regular Expression Error

Affected Products

ProductVersions
pearwebpear
  • < 1.33.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.