CVE-2026-25236CWE-89

PEAR is Vulnerable to SQL Injection in Damblan_Karma IN() Query via Literal Substitution

Medium · published February 3, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
21.8
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lurks in the karma queries of PEAR! If you're still on a version prior to 1.33.0, watch out for those unsafe substitutions! 😱 Think of it like a restaurant menu where the server blindly accepts any ingredient substitution without checking for allergies—one wrong choice could ruin a meal. Here, the unsafe literal substitution allows attackers to sneak in harmful queries just like an allergy-triggering ingredient could spoil a dinner party. An attacker could exploit this SQL injection to manipulate queries, potentially accessing or altering your data. While the impact might not be immediate, it poses a risk for unexpected data exposure that could lead to serious consequences down the line.

Put simply

Think of it like a restaurant menu where the server blindly accepts any ingredient substitution without checking for allergies—one wrong choice could ruin a meal. Here, the unsafe literal substitution allows attackers to sneak in harmful queries just like an allergy-triggering ingredient could spoil a dinner party. This vulnerability arises from unsafe handling of literal substitutions in SQL queries within PEAR's karma functionality, specifically in the IN (...) list. Prior to version 1.33.0, this flaw could allow attackers to inject malicious SQL code, compromising your database integrity.

What to do

An attacker could exploit this SQL injection to manipulate queries, potentially accessing or altering your data. While the impact might not be immediate, it poses a risk for unexpected data exposure that could lead to serious consequences down the line. To protect your application, upgrade PEAR to version 1.33.0 or later immediately. It's also a good idea to review any custom queries to ensure they're securely handling user input. Adding prepared statements where possible will provide an extra layer of security. You've got this! Following these steps will have your PEAR installation secure in no time! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00303 · 21.8th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-02-03T18:29Z
EPSS history
Timeline
  • 03 FEB 18:29Z
    PEAR is Vulnerable to SQL Injection in Damblan_Karma IN() Query via Literal Substitution
    cvelistv5