Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()
- State
- Published
- Severity
- 7.3 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 ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.
| Product | Versions |
|---|---|
| Gammu Gammu | before 1.45.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.3 High | VulnCheck | |
| 3.1 | 7.0 High | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- GitHub Security Advisory (GHSA-3x76-xc9w-q78p)Vendor Advisory
- https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689Patch
- Gammu 1.45.2 Release NotesRelease Notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916Technical Details
- https://github.com/gammu/gammuProduct Page
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()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.