Pear
CVE-2026-25240
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious array with SQL payload
-
ExploitSend request to user::maintains()
-
ExecutionInject SQL into IN clause
-
ImpactExecute arbitrary database queries
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | PEAR framework versions prior to 1.33.0 with user::maintains() function called with role filter parameters as array input without proper sanitization. No authentication required for remote exploitation. |
| Impact | CVSS 9.8 — cumulative SQL injection exposure across the PEAR codebase. |
| Exploit ScenarioDerived | An attacker uses this alternative injection point when others are mitigated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
PEAR PHP framework has another SQL injection vulnerability prior to version 1.33.0, the sixth in a series of critical security flaws in the PHP component distribution system.
Earlier versions of this analysis (1)
Sixth SQL injection in PEAR framework.
RemediationAI
Update to PEAR 1.33.0+.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-89 SQL injection in PEAR < 1.33.0, another entry in the comprehensive PEAR security advisory.
Know when Pear gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
PEAR is a framework and distribution system for reusable PHP components. Prior to version 1.33.0, a SQL injection vulnerability can occur in user::maintains() when role filters are provided as an array and interpolated into an IN (...) clause. This issue has been patched in version 1.33.0.
Executive ViewAI
A critical SQL injection vulnerability (CVSS 9.8) exists in PEAR PHP framework versions prior to 1.33.0 that could allow attackers to execute arbitrary database commands. Organizations using affected PEAR versions face immediate risk of data breach, system compromise, and potential service disruption if this vulnerability is exploited.
Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns; restrict database user permissions to least privilege; enable database activity monitoring and alerting; disable the user::maintains() function or API endpoints that expose it if not critical to operations; segment database access through network controls; consider isolating affected systems until patch availability is confirmed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)GitHub Advisory
PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenam
PEAR HTML_AJAX 0.3.0 through 0.5.7 has a PHP Object Injection Vulnerability in the PHP Serializer. Rated critical severi
PEAR PHP framework has a code execution vulnerability through unsafe use of preg_replace() that allows attackers to exec
PEAR PHP framework has a seventh SQL injection with higher EPSS (0.12%), indicating more active scanning for this partic
PEAR PHP framework prior to 1.33.0 has a fifth SQL injection vulnerability, part of a comprehensive security audit that
PEAR PHP framework has a second SQL injection vulnerability in a different code path, providing an alternate database co
PEAR PHP framework prior to 1.33.0 has a SQL injection vulnerability allowing attackers to extract data from the compone
PEAR PHP framework prior to 1.33.0 has a logic bug in the roadmap feature allowing unauthorized access through incorrect
Pearweb versions up to 1.33.0 contains a vulnerability that allows attackers to guess verification tokens and potentiall
SQL injection in PEAR's apidoc queue insertion allows unauthenticated remote attackers to manipulate database queries by
The Crypt_GPG extension before 1.6.7 for PHP does not prevent additional options in GPG calls, which presents a risk for
NVD
CVE.org
EPSS
GitHub
Exploit-DB