Technical impact
The flaw in Asterisk’s app_sms.c allows externally supplied SMS length values to be copied into statically allocated buffers without sufficient checks. This unsanitized copy can overflow the buffers, corrupt memory, and cause the core PBX process to fail. The vulnerability is categorized as a classic buffer overflow and memory corruption weakness.
Affected Systems
Versions of Asterisk and Certified Asterisk prior to 20.20.1, 21.12.3, 22.10.1, 23.4.1 and their corresponding Certified releases 20.7‑cert11 and 22.8‑cert3 are affected. All earlier releases in these branches are vulnerable.
Risk and Exploitability
The CVSS score of 2.3 indicates a low severity rating, and the EPSS score of < 1% signifies a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to influence the SMS dialplan application, typically by sending messages with crafted length fields or by routing calls to local analog devices. This generally requires local or privileged access, making the threat largely internal or confined to environments where the SMS application is exposed.