Stack-Based Buffer Overflow in Gammu Affects Alcatel Mobile Devices
CVE-2026-138162
7.3HIGH
What is CVE-2026-138162?
Gammu versions prior to 1.45.2 exhibit a stack-based buffer overflow vulnerability within the ALCATEL_EncodeString() function. This flaw can be exploited by attackers who craft oversized encoded phonebook text, enabling them to overwrite stack memory. By restoring a manipulated backup or using 'addnew' functionality with connected Alcatel devices, attackers could potentially crash Gammu or execute arbitrary code. To mitigate this vulnerability, users should upgrade to Gammu version 1.45.2 or later.
Affected Version(s)
Gammu 0 < 1.45.2
