CVE-2026-138164
Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()
4.8
Description
Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| gammu | gammu | 0 → <1.45.2 | 1.45.2 | CVE.org |