# CVE-2026-25237: PEAR is Vulnerable to PHP Code Execution via preg\_replace /e in Bug Update Emails

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.33.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-03 · Modified: 2026-02-04
- Aliases: UBUNTU-CVE-2026-25237
- Record: https://cvemate.com/vulnerability/CVE-2026-25237 · JSON: https://cvemate.com/vulnerability/CVE-2026-25237/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.46%, percentile 41.571%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu php-pear (Ubuntu): All versions (No fix recorded)
- pear pearweb: \< 1.33.0

## References

- <https://github.com/pear/pearweb/security/advisories/GHSA-vhw6-hqh9-8r23>
- <https://ubuntu.com/security/CVE-2026-25237>
- <https://www.cve.org/CVERecord?id=CVE-2026-25237>

---

Data as of 2026-12-05T09:08:37.001Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
