home / blog

2026-11-30 · high

CVE-2026-138163: Critical vulnerability in Gammu allows code execution

Heap-based buffer overflow in Gammu 1.45.2 allows code execution via malicious backup files.

CVE-2026-138163: Critical vulnerability in Gammu allows code execution

CVE-2026-138163 is a heap-based buffer overflow in the ReadWAPSettingsEntry() function of Gammu. The vulnerability is exploited when a backup file contains more than four TitleNN entries in [WAPSettings] or [MMSSettings] sections, allowing an attacker to corrupt heap memory potentially leading to remote code execution.

The severity is rated as high (CVSS 7.8) and the vulnerability was published on November 28, 2026. Signals indicate the existence of proof-of-concept and public exploits on GitHub repositories, though not officially confirmed. The impact is concrete for organizations using Gammu to manage mobile device backups.

For defense, it is crucial to immediately update to Gammu version 1.45.2 or later. Organizations should also implement strict controls on backup files, verifying their authenticity before restoration. Carefully monitor systems for any anomalous behavior and consider implementing additional input file controls.

At a glance

What
Heap-based buffer overflow in ReadWAPSettingsEntry() that allows corrupting heap memory via crafted backup files with excess WAP or MMS settings entries.
Severity
High (CVSS 7.8)
Affected versions
Gammu before version 1.45.2
Fix
Update to Gammu 1.45.2 or later
Status
Published on November 28, 2026
Action
Apply patches and verify authenticity of backup files

Sources: NVD, CVE-2026-138163

← All articles