Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()
- State
- Published
- Severity
- 4.8 Medium
- 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 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.
| Product | Versions |
|---|---|
| Gammu Gammu | before 1.45.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulnCheck | |
| 3.1 | 3.3 Low | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- GitHub Security Advisory (GHSA-f954-jx97-g68w)Vendor Advisory
- https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799Patch
- Gammu 1.45.2 Release NotesRelease Notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189Technical Details
- https://github.com/gammu/gammuProduct Page
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()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.