Stack buffer overflow in Gammu backup text export corrupts memory
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Gammu before 1.45.2 contains a stack-based buffer overflow (CWE-121) in SaveBackupText() in backtext.c. Long calendar or note fields in a crafted backup cause hex digits to be written past a 10,000-byte stack buffer when converted with gammu convertbackup. A local attacker with low privileges can corrupt stack memory if a user converts the crafted backup, which requires user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Gammu to version 1.45.2, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- 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-99411 Buffer overflow in Gammu backup loading corrupts memoryPriority LOW 38
- TI-2026-99410 Stack-based buffer overflow in Gammu via crafted backup filesPriority LOW 38
Timeline
- 2026-11-28 Threatist record created from CVE-2026-138164
- 2026-11-28 Alias added: GHSA-qvrw-322v-v5fc
- 2026-11-30 CISA SSVC decision points changed
References
More Gammu vulnerabilities
- TI-2026-99412 Stack-based buffer overflow in Gammu ALCATEL_EncodeString() function CVSS 4.0HIGH 7.3
- 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
- TI-2026-99413 Heap overflow in Gammu backup reader lets attackers corrupt memory CVSS 4.0HIGH 8.5
Sources
- CVE-2026-138164 · CVE Program
- CVE-2026-138164 · NVD
- FIRST EPSS
- GHSA-qvrw-322v-v5fc · 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