cve.bz

CVE-2022-26651 SQL Injection

9.8 criticalEPSS 7.0%

Critical (9.8). EPSS 7.0% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Asterisk through 19.x and Certified Asterisk through 16.8-cert13. The func_odbc module provides possibly inadequate escaping functionality for backslash characters in SQL queries, resulting in user-provided data creating a broken SQL query or possibly a SQL injection. This is fixed in 16.25.2, 18.11.2, and 19.3.2, and 16.8-cert14.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.0% (unchanged from 7.0% a week ago; 7.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-26651 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-26651?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-26651?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-26651 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
digium:asteriskfrom 16.0.0 before 16.25.2
digium:asteriskfrom 18.0 before 18.11.2
digium:asteriskfrom 19.0.0 before 19.3.2
digium:certified_asterisk16.8
digium:certified_asterisk16.8:cert1-rc1
digium:certified_asterisk16.8:cert1-rc2
digium:certified_asterisk16.8:cert1-rc3
digium:certified_asterisk16.8:cert1-rc4
digium:certified_asterisk16.8:cert10
digium:certified_asterisk16.8:cert11
digium:certified_asterisk16.8:cert12
digium:certified_asterisk16.8:cert13
digium:certified_asterisk16.8:cert2
digium:certified_asterisk16.8:cert3
digium:certified_asterisk16.8:cert4
digium:certified_asterisk16.8:cert4-rc1
digium:certified_asterisk16.8:cert4-rc2
digium:certified_asterisk16.8:cert4-rc3
digium:certified_asterisk16.8:cert4-rc4
digium:certified_asterisk16.8:cert5
digium:certified_asterisk16.8:cert6
digium:certified_asterisk16.8:cert7
digium:certified_asterisk16.8:cert8
digium:certified_asterisk16.8:cert9
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10asterisk1:16.28.0~dfsg-0+deb10u1DLA-3194-1
Debian11asterisk1:16.28.0~dfsg-0+deb11u1DSA-5285-1
Debian14asterisk1:18.11.2~dfsg+~cs6.10.40431413-1DEBIAN-CVE-2022-26651
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2022-26651
Alpinev3.15asterisk18.2.2-r6ALPINE-CVE-2022-26651
Alpinev3.16, v3.17, v3.18 and 6 moreasterisk18.11.2-r0ALPINE-CVE-2022-26651

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON