← News

Gammu: heap overflow via crafted backup files

HighAI-generated2026-11-29

CVE
CVE-2026-138163
Severity
High (CVSS 7.8)
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 are vulnerable to a heap-based buffer overflow. An attacker can supply a specially crafted backup file to cause a crash or possibly execute code.

Details

According to the NVD record, Gammu before version 1.45.2 contains a heap-based buffer overflow in the function ReadWAPSettingsEntry(). The flaw can be triggered by loading a backup file that includes more than four TitleNN entries in the [WAPSettings] or [MMSSettings] sections, using utilities such as convertbackup, restore, or GSM_ReadBackupFile.

An attacker who provides such a malicious backup can corrupt heap memory, leading to application crashes and, in some cases, the possibility of arbitrary code execution.

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