CVE-2022-26651
An issue was discovered in Asterisk through 19.x and Certified Asterisk through 16.8-cert13. The...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2022-26651- 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-26651- Updated
- 2026-11-02
EUVDEUVD-2022-31204 No score
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.
- Record
EUVD-2022-31204- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6pcv-f66p-pqqj
9.8
An issue was discovered in Asterisk through 19.x and Certified Asterisk through 16.8-cert13. The...
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.
- Record
GHSA-6pcv-f66p-pqqj- 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 - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-26651
9.8
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.
- Record
ALPINE-CVE-2022-26651- 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 - Updated
- 2026-11-03
OSVDEBIAN-CVE-2022-26651
9.8
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.
- Record
DEBIAN-CVE-2022-26651- 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 - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-26651
9.8
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.
- Record
UBUNTU-CVE-2022-26651- 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 - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-26651- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
asteriskAlpine:v3.15 |
16.0.0 up to 18.2.2-r6 | 18.2.2-r6 |
asteriskAlpine:v3.16 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.17 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.18 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.19 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.20 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.21 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.22 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.23 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
asteriskAlpine:v3.24 |
16.0.0 up to 18.11.2-r0 | 18.11.2-r0 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
asteriskDebian:14 |
before 1:18.11.2~dfsg+~cs6.10.40431413-1, plus listed versions 0.1.11-30.1.11-3woody11:1.0.5-21:1.0.5-41:1.0.6-1 Show 45 moreShow less1:1.0.6-21:1.0.7-11:1.0.7.dfsg.1-11:1.0.7.dfsg.1-21:1.0.7.dfsg.1-2sarge11:1.0.7.dfsg.1-2sarge21:1.0.7.dfsg.1-2sarge31:1.0.7.dfsg.1-2sarge41:1.0.7.dfsg.1-2sarge51:1.0.7.dfsg.1-2sarge61:1.0.9.dfsg-11:1.0.9.dfsg-31:1.0.9.dfsg-41:1.0.9.dfsg-51:1.0.9.dfsg-61:1.2.0-beta1.dfsg-11:1.2.0-beta2.dfsg-11:1.2.0-beta2.dfsg-21:1.2.0-beta2.dfsg-31:1.2.0-rc1.dfsg-11:1.2.0-rc2.dfsg-11:1.2.0.dfsg-11:1.2.0.dfsg-21:1.2.0.dfsg-31:1.2.0.dfsg-41:1.2.0.dfsg-51:1.2.0.dfsg-61:1.2.1.dfsg-11:1.2.1.dfsg-21:1.2.1.dfsg-31:1.2.10.dfsg-11:1.2.10.dfsg-1bpo11:1.2.10.dfsg-21:1.2.10.dfsg-31:1.2.11.dfsg-11:1.2.12.1.dfsg-11:1.2.13~dfsg-11:1.2.13~dfsg-21:1.2.13~dfsg-2etch11:1.2.13~dfsg-2etch21:1.2.13~dfsg-2etch31:1.2.13~dfsg-2etch41:1.2.14~dfsg-11:1.2.14~dfsg-21:1.2.14~dfsg-3 |
1:18.11.2~dfsg+~cs6.10.40431413-1 |
asteriskDebian:10 |
before 1:16.28.0~dfsg-0+deb10u1, plus listed versions 1:16.10.0~dfsg-11:16.12.0~dfsg-11:16.15.0~dfsg-11:16.15.1~dfsg-11:16.16.1~dfsg+~2.10-1 Show 14 moreShow less1:16.16.1~dfsg+~2.10-21:16.16.1~dfsg-11:16.16.1~dfsg-1~bpo10+11:16.16.1~dfsg-21:16.16.1~dfsg-31:16.16.1~dfsg-41:16.2.1~dfsg-11:16.2.1~dfsg-1+deb10u11:16.2.1~dfsg-1+deb10u21:16.2.1~dfsg-21:16.23.0~dfsg+~2.10-11:16.23.0~dfsg+~cs6.10.20220309-11:16.23.0~dfsg+~cs6.10.20220309-21:16.23.0~dfsg+~cs6.10.40431411-1 |
1:16.28.0~dfsg-0+deb10u1 |
asteriskDebian:11 |
before 1:16.28.0~dfsg-0+deb11u1, plus listed versions 1:16.16.1~dfsg+~2.10-11:16.16.1~dfsg+~2.10-21:16.16.1~dfsg-11:16.16.1~dfsg-1+deb11u11:16.16.1~dfsg-1+deb11u1~bpo10+1 Show 7 moreShow less1:16.16.1~dfsg-21:16.16.1~dfsg-31:16.16.1~dfsg-41:16.23.0~dfsg+~2.10-11:16.23.0~dfsg+~cs6.10.20220309-11:16.23.0~dfsg+~cs6.10.20220309-21:16.23.0~dfsg+~cs6.10.40431411-1 |
1:16.28.0~dfsg-0+deb11u1 |
asteriskUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1:13.1.0~dfsg-1.1ubuntu31:13.1.0~dfsg-1.1ubuntu41:13.1.0~dfsg-1.1ubuntu4.11:13.1.0~dfsg-1.1ubuntu4.1+esm1 |
None known |
asteriskUbuntu:18.04:LTS |
All versions, plus listed versions 1:13.17.2~dfsg-1ubuntu11:13.17.2~dfsg-2ubuntu11:13.18.1~dfsg-1ubuntu11:13.18.3~dfsg-1ubuntu11:13.18.3~dfsg-1ubuntu21:13.18.3~dfsg-1ubuntu31:13.18.3~dfsg-1ubuntu4 |
None known |
asteriskUbuntu:20.04:LTS |
All versions, plus listed versions 1:16.2.1~dfsg-2build21:16.2.1~dfsg-2build31:16.2.1~dfsg-2ubuntu1 |
None known |
asteriskUbuntu:22.04:LTS |
All versions, plus listed versions 1:16.16.1~dfsg-21:16.16.1~dfsg-41:16.16.1~dfsg-4build11:16.16.1~dfsg+~2.10-11:18.10.0~dfsg+~cs6.10.40431411-2 |
None known |
asteriskUbuntu:24.04:LTS |
All versions, plus listed versions 1:20.4.0~dfsg+~cs6.13.40431414-21:20.5.0~dfsg+~cs6.13.40431414-11:20.5.1~dfsg+~cs6.13.40431414-11:20.5.2~dfsg+~cs6.13.40431414-11:20.6.0~dfsg+~cs6.13.40431414-1 Show 4 moreShow less1:20.6.0~dfsg+~cs6.13.40431414-21:20.6.0~dfsg+~cs6.13.40431414-2build31:20.6.0~dfsg+~cs6.13.40431414-2build41:20.6.0~dfsg+~cs6.13.40431414-2build5 |
None known |
asteriskUbuntu:25.10 |
All versions, plus listed versions 1:22.2.0~dfsg+~cs6.15.60671435-21:22.3.0~dfsg+~cs6.15.60671435-11:22.4.1~dfsg+~cs6.15.60671435-11:22.4.1~dfsg+~cs6.15.60671435-21:22.5.1~dfsg+~cs6.15.60671435-11:22.5.2~dfsg+~cs6.15.60671435-1 |
None known |
asteriskUbuntu:26.10 |
All versions, plus listed versions 1:22.5.2~dfsg+~cs6.15.60671435-11:22.10.0+dfsg+~cs6.17.60671434-1ubuntu21:22.10.0+dfsg+~cs6.17.60671434-1ubuntu3 |
None known |
asteriskUbuntu:26.04:LTS |
All versions, plus listed versions 1:22.5.2~dfsg+~cs6.15.60671435-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-26651 is a critical vulnerability (CVSS 9.8) in Digium Asterisk, published April 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.03%, the 94th percentile. Fixed in asterisk 18.2.2-r6.
References
downloads.asterisk.org/pub/security
downloads.asterisk.org/pub/security/AST-2022-003.html
packetstormsecurity.com/files/166746/Asterisk-Project-Security-Advisory-AST-2022-003.html
lists.debian.org/debian-lts-announce/2022/11/msg00021.html
debian.org/security/2022/dsa-5285
nvd.nist.gov/vuln/detail/CVE-2022-26651
Show 7 moreShow less
github.com/advisories/GHSA-6pcv-f66p-pqqj
security.alpinelinux.org/vuln/CVE-2022-26651
github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26651.json
security-tracker.debian.org/tracker/CVE-2022-26651
ubuntu.com/security/CVE-2022-26651
issues.asterisk.org/jira/browse/ASTERISK-29838
cve.org/CVERecord?id=CVE-2022-26651
Left out here: 202 versions. The JSON record has them.