CVE-2026-138162
Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()
High · 7.3Fix available
- CVSS
- 7.3
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- Gammu Gammu
- Aliases
- GHSA-3x76-xc9w-q78p
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
1.45.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gammu | >=0, <1.45.2 | 1.45.2 |
Sources
- NVD · first seen 11h ago · NVD terms of use
- OSV · first seen 10h ago · CC-BY 4.0
- CVE List · first seen 11h ago · CVE Terms of Use
References
- https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p vendor-advisory
- https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689 patch
- https://github.com/gammu/gammu/releases/tag/1.45.2 release-notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916 technical-description
- https://github.com/gammu/gammu product
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138162.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-138162 advisory