Stack-based buffer overflow in Gammu via crafted backup files
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-121 and the CVSS impact.
Summary
Gammu before 1.45.2 contains a stack-based buffer overflow in ReadBackupTextLen() (CWE-121). Overlong quoted text values in crafted backup files are decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls. A local user who supplies a crafted backup file with low privileges and requires user interaction can overwrite stack memory, causing crashes or potential code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-28
Description from the CNA
Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update Gammu to version 1.45.2 or later, which fixes the flaw.
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-138160
- 2026-11-28 Alias added: GHSA-9gmm-wvwr-7r73
- 2026-11-30 CISA SSVC decision points changed
References
Patch 2
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-99413 Heap overflow in Gammu backup reader lets attackers corrupt memory CVSS 4.0HIGH 8.5
Sources
- CVE-2026-138160 · CVE Program
- CVE-2026-138160 · NVD
- FIRST EPSS
- GHSA-9gmm-wvwr-7r73 · 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