Stack-Based Buffer Overflow Vulnerability in Gammu Software
CVE-2026-138164
4.8MEDIUM
What is CVE-2026-138164?
Gammu versions prior to 1.45.2 are susceptible to a stack-based buffer overflow in the SaveBackupText() function located in backtext.c. This vulnerability allows attackers to exploit the software by inputting overly long text fields within backups. When the gammu convertbackup command is executed, it can write hex digits that exceed the 10,000-byte stack buffer, potentially corrupting stack memory and leading to unauthorized actions. Protecting systems from this vulnerability requires updating to Gammu version 1.45.2 or later.
Affected Version(s)
Gammu 0 < 1.45.2
