CVE-2026-138164: Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()

Published Nov 28, 2026
·
Updated

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.

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?

Systems using Gammu versions before 1.45.2 are exposed when they use the gammu convertbackup command to convert an attacker-supplied or otherwise untrusted backup containing long calendar or note text fields.

2

What does an attacker need to exploit it?

An attacker needs to supply a crafted backup with sufficiently long text fields and have a user process it with gammu convertbackup. The published vector requires local access and user interaction.

3

Is the issue present in the default conversion workflow?

The vulnerable code path is reached during backup conversion through gammu convertbackup. The available information does not establish whether ordinary default configurations process untrusted backups automatically.

4

What should be done if upgrading cannot happen immediately?

Do not run gammu convertbackup on untrusted backups, especially files containing long calendar or note fields. Restrict conversion to backups from trusted sources until Gammu can be updated to 1.45.2 or later.

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