CVE-2026-138160: Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()

Published Nov 28, 2026
·
Updated

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSMReadBackupFile calls, 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

Which workflows are exposed to a crafted backup file?

The vulnerable parsing path can be reached through convertbackup, restore, and GSM_ReadBackupFile calls. Systems or applications that process backup files from untrusted sources through any of these paths are exposed.

2

What does an attacker need to exploit this issue?

An attacker needs to provide a crafted backup file containing overlong quoted text values. The supplied content is decoded into a 10,000-byte stack array, enabling stack-memory overwrite.

3

Are older installations affected?

Gammu versions before 1.45.2 are affected. Upgrade to 1.45.2 or later to obtain the fix.

4

What can be done if upgrading is not immediately possible?

Do not process backup files from untrusted or unverified sources using convertbackup, restore, or applications that call GSM_ReadBackupFile. Restrict who can supply backup files until the software can be updated.

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