Vulnerability in Digium Asterisk Allows Remote Server to Crash

asterisk Updated 02 Oct 2025

Summary

18/02/2021
N/A
Yes i
Medium
5.9

CVE-2021-26906: An issue was discovered in res_pjsip_session.c in Digium Asterisk through 13.38.1; 14.x, 15.x, and 16.x through 16.16.0; 17.x through 17.9.1; and 18.x through 18.2.0, and Certified Asterisk through 16.8-cert5. Affects asterisk across 2 version ranges.

< 16.16.1-r0 >= 85335355efb2d7914a1fe20ed31afcef15fd210c, < fbaea22493a6061d4bdc87bddc0cb5971e5f71d9

Fixed in 16.16.1-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Digium Asterisk is an open-source communication platform that provides voice, video, and messaging services. It is widely used in various industries for telephony applications. However, a vulnerability has been discovered in Digium Asterisk versions 13.38.1, 14.x, 15.x, 16.x, 17.x, and 18.x, as well as Certified Asterisk version 16.8-cert5. This vulnerability affects the SDP negotiation process in PJSIP, which can be exploited by a remote server to cause a crash in the Asterisk server.

Vulnerability Detail

The vulnerability, identified as CVE-2021-26906, arises due to a flaw in the SDP negotiation mechanism of PJSIP. By sending specific SIP responses, an attacker can trigger an SDP negotiation failure, leading to a crash in the Asterisk server. This vulnerability can be exploited remotely, potentially causing a denial-of-service (DoS) condition. The severity of this vulnerability is rated as CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H with a score of 5.9.

How To Fix

Minimum fixed version

16.16.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade asterisk

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the vulnerability in Digium Asterisk versions 13.38.1, 14.x, 15.x, 16.x, 17.x, and 18.x, as well as Certified Asterisk version 16.8-cert5, allows a remote server to crash the Asterisk server by exploiting a flaw in the SDP negotiation process. It is recommended to update to the fixed versions mentioned above to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for asterisk →

Share this vulnerability

FAQ

Digium Asterisk is an open-source communication platform used for voice, video, and messaging services.

The vulnerability allows a remote server to crash the Asterisk server, potentially causing a denial-of-service (DoS) condition.

By sending specific SIP responses, an attacker can trigger an SDP negotiation failure, leading to a crash in the Asterisk server.

The severity of this vulnerability is rated as CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H with a score of 5.9.

To fix this vulnerability, update the affected Digium Asterisk versions to the provided fixed versions.

Related vulnerabilities

Recent vulnerabilities recorded for asterisk.

How To Fix

Minimum fixed version

16.16.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade asterisk

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback