Vulnerability · Published Feb 3, 2026 · Assigned by GitHub_M

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

Medium 6.9

In plain English

A medium-severity SQL injection in pearweb from pear. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities).

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.3%top 76.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSphp-pearno fix listedUBUNTU-CVE-2026-25240
Ubuntu:24.04:LTSphp-pearno fix listedUBUNTU-CVE-2026-25240
Ubuntu:25.10php-pearno fix listedUBUNTU-CVE-2026-25240

Affected products (as reported)

VendorProductVersions
pear pearweb < 1.33.0

Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References