Skip to main content

Pear CVE-2026-25240

CRITICAL
SQL Injection (CWE-89)
2026-02-03 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious array with SQL payload
  2. Exploit
    Send request to user::maintains()
  3. Execution
    Inject SQL into IN clause
  4. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 9.8

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

GitHub Advisory PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:pear:pearweb:*:*:*:*:*:*:*:*

More in Pear

View all
CVE-2017-5630 HIGH POC
7.5 Feb 01

PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenam

CVE-2017-5677 CRITICAL
9.8 Feb 06

PEAR HTML_AJAX 0.3.0 through 0.5.7 has a PHP Object Injection Vulnerability in the PHP Serializer. Rated critical severi

CVE-2026-25237 CRITICAL
9.8 Feb 03

PEAR PHP framework has a code execution vulnerability through unsafe use of preg_replace() that allows attackers to exec

CVE-2026-25241 CRITICAL
9.8 Feb 03

PEAR PHP framework has a seventh SQL injection with higher EPSS (0.12%), indicating more active scanning for this partic

CVE-2026-25238 CRITICAL
9.8 Feb 03

PEAR PHP framework prior to 1.33.0 has a fifth SQL injection vulnerability, part of a comprehensive security audit that

CVE-2026-25236 CRITICAL
9.8 Feb 03

PEAR PHP framework has a second SQL injection vulnerability in a different code path, providing an alternate database co

CVE-2026-25234 CRITICAL
9.8 Feb 03

PEAR PHP framework prior to 1.33.0 has a SQL injection vulnerability allowing attackers to extract data from the compone

CVE-2026-25233 CRITICAL
9.1 Feb 03

PEAR PHP framework prior to 1.33.0 has a logic bug in the roadmap feature allowing unauthorized access through incorrect

CVE-2026-25235 HIGH
7.5 Feb 03

Pearweb versions up to 1.33.0 contains a vulnerability that allows attackers to guess verification tokens and potentiall

CVE-2026-25239 HIGH
7.5 Feb 03

SQL injection in PEAR's apidoc queue insertion allows unauthenticated remote attackers to manipulate database queries by

CVE-2022-24953 MEDIUM
5.3 Feb 17

The Crypt_GPG extension before 1.6.7 for PHP does not prevent additional options in GPG calls, which presents a risk for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy