Stack-Based Buffer Overflow in Gammu Pre-1.45.2 by Gammu
CVE-2026-138160
8.5HIGH
What is CVE-2026-138160?
A stack-based buffer overflow vulnerability exists in Gammu versions prior to 1.45.2, specifically within the ReadBackupTextLen() function. Attackers can exploit this flaw by supplying specially crafted backup files that contain overlong quoted text values. These values result in the overflow of a 10,000-byte stack array during operations like convertbackup, restore, or GSM_ReadBackupFile. Such exploitation can lead to application crashes or may even allow attackers to execute arbitrary code.
Affected Version(s)
Gammu 0 < 1.45.2
