CVE-2026-138163: Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()

Published Nov 28, 2026
·
Updated

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. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSMReadBackupFile, causing crashes or potential code execution.

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?

Users of Gammu versions before 1.45.2 are exposed when they load attacker-controlled backup files through convertbackup, restore, or GSM_ReadBackupFile. The issue is triggered by WAPSettings or MMSSettings sections containing more than four TitleNN keys.

2

What must an attacker do to exploit it?

An attacker must induce a user or application to process a crafted backup file. The CVSS vector indicates local attack access and required user interaction, while no privileges are required.

3

What is the recommended remediation?

Upgrade Gammu to version 1.45.2 or later. Until upgrading is possible, do not process untrusted backup files with the affected conversion, restore, or backup-reading functionality.

4

How can I identify potentially malicious backup files?

Inspect backup files for [WAPSettings] or [MMSSettings] sections containing more than four TitleNN keys. Such files can trigger the vulnerable parsing path in affected versions.

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