CVE-2026-25240: PEAR is Vulnerable to SQL Injection in user::maintains() Role IN() Filter

Published Feb 3, 2026
·
Updated

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.

Affected Software

2 affected components
pear/pear<1.33.0
PEAR Pearweb<1.33.0

Event History

Feb 3, 2026
CVE Published
via MITRE·06:31 PM
Data Sourced
via MITRE·06:31 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 19, 58090
Event
via FIRST·07:50 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25240?

CVE-2026-25240 is classified as a medium severity vulnerability due to its potential for SQL injection exploits.

2

How do I fix CVE-2026-25240?

To fix CVE-2026-25240, upgrade PEAR to version 1.33.0 or later where the vulnerability has been patched.

3

What type of vulnerability is CVE-2026-25240?

CVE-2026-25240 is an SQL injection vulnerability affecting the user::maintains() function when role filters are mishandled.

4

Which versions of PEAR are affected by CVE-2026-25240?

CVE-2026-25240 affects all versions of PEAR prior to version 1.33.0.

5

What can attackers achieve with CVE-2026-25240?

Attackers can exploit CVE-2026-25240 to execute arbitrary SQL queries against the database, potentially compromising data security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203