Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
- 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 buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, 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-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
- GitHub Security Advisory (GHSA-cp4c-2vv3-mrr7)Vendor Advisory
- https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcbPatch
- Gammu 1.45.2 Release NotesRelease Notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282Technical Details
- https://github.com/gammu/gammuProduct Page
- VulnCheck Advisory: Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 ChecksumThird-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.