PatchSiren

Gammu CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH Gammu CVE published 2026-11-28

CVE-2026-138160

A stack-based buffer overflow vulnerability exists in Gammu before version 1.45.2, specifically in the ReadBackupTextLen() function. This vulnerability allows attackers to overwrite stack memory by supplying crafted backup files with overlong quoted text values. These values are decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, potentially leading to crashes or code execution.

HIGH Gammu CVE published 2026-11-28

CVE-2026-138161

A buffer overflow vulnerability exists in Gammu before version 1.45.2, specifically in the LoadBackup() function, which allows attackers to corrupt memory by providing an overly long MD5 value in a crafted backup file. This can lead to potential code execution or crashes when files are loaded using convertbackup or restore functions. The vulnerability poses a risk to systems handling backup and restore operations, particularly if they handle untrusted backup files. Defenders should assess exposure and prioritize updates to prevent potential code execution or crashes.

HIGH Gammu CVE published 2026-11-28

CVE-2026-138162

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.

HIGH Gammu CVE published 2026-11-28

CVE-2026-138163

Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. This vulnerability can lead to potential code execution and heap memory corruption, especially in environments where backup files are loaded from untrusted sources. Defenders should assess exposure and prioritize verification and updates to version 1.45.2 or later. The vulnerability is triggered by supplying a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile.

MEDIUM Gammu CVE published 2026-11-28

CVE-2026-138164

A stack-based buffer overflow vulnerability exists in Gammu before version 1.45.2, specifically in the SaveBackupText() function in backtext.c. This vulnerability allows attackers to corrupt stack memory by supplying long text fields, potentially leading to a crash or other undefined behavior when converting backups with gammu convertbackup. The vulnerability is triggered by long calendar or note fields in backups, which can cause the function to write past the 10,000-byte stack buffer. Defenders should assess exposure and prioritize updates to mitigate potential risks.