CVE-2026-138162
7.0HighPublished Nov 28, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- High
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-121
What an attacker gets
Attackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
Root cause
A stack-based buffer overflow exists in the ALCATEL_EncodeString function due to improper handling of oversized encoded phonebook text.
Affected versions
Gammu before 1.45.2
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Gammu 1.45.2 or later. Avoid restoring or adding data from untrusted backup files to Alcatel devices until the package is updated.
$ sudo apt-get update && sudo apt-get install --only-upgrade gammuAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- 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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381617.8HighAttackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
- CVE-2026-1381607.8HighAttackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.
- CVE-2026-1381198.8HighUnauthenticated attackers can steal session cookies and take over Kestra instances by tricking a logged-in user into clicking a malicious link. This is a reflected cross-site scripting attack that executes arbitrary JavaScript in the user's browser.
- CVE-2026-1381187.8HighAttackers can execute arbitrary Python code by providing a malicious .hspy or .zspy file. A user must open or restore a crafted model file for the exploit to trigger.
- CVE-2026-13800410.0CriticalRemote unauthenticated attackers can execute arbitrary OS commands with root privileges. This is achieved by sending a crafted request to the UPnP Igd Control Endpoint.
- CVE-2026-1380039.0CriticalRemote attackers can execute arbitrary code via a stack-based buffer overflow. This requires sending a crafted SOAPAction request to the UPnP interface.