CVE-2026-138162
Severity CVSS v4.0:
HIGH
Type:
CWE-121
Stack-based Buffer Overflow
Publication date:
28/11/2026
Last modified:
28/11/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.
Impact
Base Score 4.0
7.30
Severity 4.0
HIGH
Base Score 3.x
7.00
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916
- https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689
- https://github.com/gammu/gammu/releases/tag/1.45.2
- https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring


