CVE-2026-57199 in Asteriskinfo

Summary

by MITRE • 10/28/2026

Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, `app_sms.c` copies externally controlled `SMS` lengths into `fixed in-struct buffers` without sufficient bounds checks, allowing an attacker to corrupt memory or crash Asterisk. The administrator must explicitly use the `SMS` dialplan application, which is useful when routing calls to or from `analog devices`, and must not have ensured that data passed to the application is valid. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 10/28/2026

Asterisk is a widely deployed open-source software suite that functions as both a private branch exchange and a comprehensive telephony toolkit, enabling organizations to build communication systems ranging from small business PBXs to large-scale contact centers. The vulnerability in question resides within the app_sms.c module, which provides functionality for handling Short Message Service data, particularly when integrating with analog devices or routing calls through traditional telephone lines that support SMS capabilities. This specific component is not enabled by default and requires an administrator to explicitly configure it via dialplan applications, meaning that only environments actively utilizing this feature are susceptible to exploitation. The core technical flaw involves a classic buffer overflow condition where the application copies externally controlled length values for incoming SMS messages into fixed-size internal buffers without performing adequate bounds checking. This lack of validation allows an attacker who can inject or manipulate SMS data directed at the vulnerable Asterisk instance to write beyond the allocated memory boundaries, leading to heap corruption or stack-based overflows depending on the specific implementation details and execution context.

The operational impact of this vulnerability is severe, as it directly compromises the integrity and availability of the telephony infrastructure. By exploiting the insufficient bounds checks, a remote attacker can cause Asterisk to crash, resulting in a denial-of-service condition that disrupts all voice and messaging services hosted on the affected system. More critically, if the memory corruption occurs in a manner that allows for arbitrary code execution, an attacker could potentially gain full control over the underlying operating system running Asterisk. This level of compromise would allow the adversary to pivot into internal networks, intercept sensitive communications, or use the compromised server as a foothold for further lateral movement within the organization's IT environment. The severity is heightened by the fact that while explicit configuration is required, many organizations may have legacy configurations or automated scripts that enable SMS features without rigorous input validation protocols in place.

From a classification perspective, this vulnerability aligns with CWE-120, which describes buffer copy without checking size limits, and specifically relates to CWE-787, out-of-bounds write vulnerabilities. In the context of the MITRE ATT&CK framework, exploitation of this flaw would likely fall under T1496, Resource Hijacking, if used for denial-of-service, or potentially T1059, Command and Scripting Interpreter, if leveraged to execute arbitrary code on the host system. The attack vector is typically remote network-based, requiring interaction with the SMS interface of the Asterisk server, which may be exposed through SIP channels or other telephony protocols depending on the specific deployment architecture.

Mitigation strategies must prioritize immediate patching and configuration review. Administrators should upgrade to patched versions immediately, specifically Asterisk 20.20.1, 21.12.3, 22.10.1, and 23.4.1, as well as the corresponding Certified Asterisk releases such as 20.7-cert11 and 22.8-cert3. For environments where upgrading is not immediately feasible due to compatibility constraints or operational downtime requirements, a temporary workaround involves disabling the SMS dialplan application entirely if it is not strictly necessary for business operations. Additionally, implementing strict input validation at any proxy or gateway layer preceding Asterisk can help filter out malformed messages before they reach the vulnerable component. Network segmentation should also be reviewed to ensure that telephony interfaces are only accessible from trusted IP ranges, reducing the attack surface available to potential adversaries attempting to exploit this memory corruption flaw.

Responsible

GitHub M

Reservation

06/24/2026

Disclosure

10/28/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

low

Sources

Interested in the pricing of exploits?

See the underground prices here!