CVE-2026-25237
published critical CVSS 4.0 · 9.2PEAR is Vulnerable to PHP Code Execution via preg_replace /e in Bug Update Emails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pear | — | pearweb< 1.33.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pear | pearweb | < 1.33.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-624 CWE-624: Executable Regular Expression Error
References
1Provider assertions
2GitHub_M · cna
PEAR is Vulnerable to PHP Code Execution via preg_replace /e in Bug Update Emails
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e802a43d21e93f9814ff0ebfa2d411c0c91b5627d7b6bf101e187da18ba0fb8
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record