Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 28, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 28, 2026
Description
Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, 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-122 Heap-based Buffer Overflow
References
- GitHub Security Advisory (GHSA-vppj-6q2c-vq79)Vendor Advisory
- https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52ePatch
- Gammu 1.45.2 Release NotesRelease Notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L2814-L2896Technical Details
- https://github.com/gammu/gammuProduct Page
- VulnCheck Advisory: Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()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.