← News

Gammu: buffer overflow allows code execution

HighAI-generated2026-11-29

CVE
CVE-2026-138162
Severity
High (CVSS 7.0)
Attack conditions
With local access to the device · No account needed · A user must take some action
Exploitation probability (EPSS)
0.2% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

Gammu versions prior to 1.45.2 have a stack-based buffer overflow. An attacker can use a crafted backup file to crash the program or potentially run code.

Details

According to the NVD record, Gammu before version 1.45.2 contains a stack-based buffer overflow in the ALCATEL_EncodeString() function. The flaw occurs when oversized encoded phonebook text is processed during a restore or addnew operation with an Alcatel phone.

An attacker can supply a specially crafted backup file that, when restored, overwrites stack memory. This can cause the application to crash or, in some cases, allow the attacker to execute arbitrary code on the affected system.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 28 November 2026 NVD record published
  • 29 November 2026 This article was written