CVE-2026-138162: Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()

Published Nov 28, 2026
·
Updated

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATELEncodeString() 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.

Affected Software

1 affected component
Gammu Gammu<1.45.2

Event History

Nov 28, 2026
CVE Published
via MITRE·02:21 AM
Data Sourced
via MITRE·02:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running Gammu versions before 1.45.2 are exposed when using gammu restore or addnew with an attached Alcatel phone and processing oversized encoded phonebook text.

2

What does exploitation require?

An attacker needs to supply a crafted backup or phonebook text containing oversized data and GSM extension characters. Exploitation occurs when that content is restored or added through the affected Gammu operations.

3

What should be done if the affected workflow is in use?

Upgrade Gammu to version 1.45.2. Until it is upgraded, do not restore untrusted backups or use untrusted phonebook text with gammu restore or addnew on attached Alcatel phones.

4

How can I determine whether my environment may be affected?

Check whether Gammu is older than 1.45.2 and whether it is used to restore backups or add phonebook entries to Alcatel phones. A crash during processing of crafted oversized encoded phonebook text may indicate attempted exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203