Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 28, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 2026
Description
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.
| Product | Versions |
|---|---|
| Gammu Gammu | before 1.45.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- GitHub Security Advisory (GHSA-74cq-mvwr-5wgm)Vendor Advisory
- https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cfPatch
- https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fePatch
- Gammu 1.45.2 Release NotesRelease Notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277Technical Details
- https://github.com/gammu/gammuProduct Page
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.