Critical Vulnerability in Asterisk: T.38 Re-negotiation Crash Risk

asterisk Updated 02 Oct 2025

Summary

18/02/2021
N/A
Yes i
High
7.5

ALPINE-CVE-2021-26717: An issue was discovered in Sangoma Asterisk 16.x before 16.16.1, 17.x before 17.9.2, and 18.x before 18.2.1 and Certified Asterisk before 16.8-cert6. Affects asterisk versions < 16.16.1-r0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Asterisk is an open-source framework for building communications applications. It enables users to create voice over IP (VoIP) systems, conference servers, and other telephony applications. The framework is widely used in various industries for its flexibility and extensive feature set. However, it has been found to have a critical vulnerability that affects its stability during T.38 re-negotiation processes.

Vulnerability Detail

An issue was discovered in Sangoma Asterisk versions 16.x before 16.16.1, 17.x before 17.9.2, and 18.x before 18.2.1. When re-negotiating for T.38, if the initial remote response was delayed, Asterisk could send both audio and T.38 in the Session Description Protocol (SDP). If the remote endpoint then declined the T.38 stream, Asterisk would crash, leading to potential service disruptions and denial of service.

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

As a temporary workaround, you can configure your Asterisk system to avoid T.38 re-negotiation or monitor the SDP responses closely to prevent sending both audio and T.38 streams simultaneously.

Conclusion

The vulnerability in Asterisk related to T.38 re-negotiation poses a significant risk to system stability. It is crucial for users to update their installations to the latest patched versions to mitigate this risk. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for asterisk →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Asterisk versions 16.x before 16.16.1, 17.x before 17.9.2, and 18.x before 18.2.1 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to Asterisk crashing, resulting in service disruptions and denial of service for users relying on the application.

Yes, updating to the patched versions of Asterisk will permanently fix the vulnerability.

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