Heap-Based Buffer Overflow in Gammu Affects Multiple Backup Functions
CVE-2026-138163
8.5HIGH
What is CVE-2026-138163?
Gammu before version 1.45.2 is vulnerable to a heap-based buffer overflow in the ReadWAPSettingsEntry() function that can be exploited through crafted backup files. Attackers may deliver backups containing excessive WAP or MMS settings entries, specifically more than four TitleNN keys in the [WAPSettings] or [MMSSettings] sections. The vulnerability can trigger crashes or potentially allow remote code execution when the affected backup functions, such as convertbackup, restore, or GSM_ReadBackupFile, are utilized.
Affected Version(s)
Gammu 0 < 1.45.2
