Heap overflow in Gammu backup reader lets attackers corrupt memory
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() (CWE-122). A crafted backup file with more than four TitleNN keys in a WAPSettings or MMSSettings section corrupts heap memory when a user loads it with convertbackup, restore or GSM_ReadBackupFile. An attacker who supplies such a file can crash Gammu or potentially execute code.
Written with Claude Haiku 5.5 from the sources below · 2026-11-28
Description from the CNA
Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Gammu 1.45.2 fixes this flaw, so upgrade Gammu to version 1.45.2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-28
- Fix · CNA Gammu (Gammu) Fixed in 1.45.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Gammu 1.45.2
5 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-99412 Stack-based buffer overflow in Gammu ALCATEL_EncodeString() functionPriority HIGH 67
- TI-2026-99414 Stack buffer overflow in Gammu backup text export corrupts memoryPriority MEDIUM 55
- TI-2026-99411 Buffer overflow in Gammu backup loading corrupts memoryPriority LOW 38
Timeline
- 2026-11-28 Threatist record created from CVE-2026-138163
- 2026-11-28 Alias added: GHSA-frvx-qrj8-74hh
References
More Gammu vulnerabilities
- TI-2026-99412 Stack-based buffer overflow in Gammu ALCATEL_EncodeString() function CVSS 4.0HIGH 7.3
- TI-2026-99414 Stack buffer overflow in Gammu backup text export corrupts memory CVSS 4.0MEDIUM 4.8
- TI-2026-99411 Buffer overflow in Gammu backup loading corrupts memory CVSS 4.0HIGH 8.5
- TI-2026-99410 Stack-based buffer overflow in Gammu via crafted backup files CVSS 4.0HIGH 8.5
Sources
- CVE-2026-138163 · CVE Program
- CVE-2026-138163 · NVD
- FIRST EPSS
- GHSA-frvx-qrj8-74hh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences