Read the docs

Buffer overflow in Gammu backup loading corrupts memory

Priority LOW 38CWE-120Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.

Summary

Gammu before 1.45.2 contains a buffer overflow in LoadBackup() caused by copying an overlong MD5 value with strcpy() into a fixed buffer (CWE-120). A local attacker can supply a crafted backup file that, when loaded with convertbackup or restore, overwrites adjacent phonebook and calendar entry pointers, causing crashes or potential code execution.

Written with Claude Haiku 5.5 from the sources below · 2026-11-28

Description from the CNA

Gammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, causing crashes or potential code execution.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00231 8th percentileScored 2026-11-30
Fix Fixed Gammu (Gammu): 1.45.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GammuGammubefore 1.45.21.45.2Patch availableCNA
  • Gammu VendorGammu Affected before 1.45.2 Fixed in 1.45.2 Patch available CNA

Remediation

Gammu 1.45.2 fixes this issue. Update Gammu to version 1.45.2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-28

  • Fix · CNA Gammu (Gammu) Fixed in 1.45.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Gammu 1.45.2

    5 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-99412 Stack-based buffer overflow in Gammu ALCATEL_EncodeString() functionPriority HIGH 67
    • TI-2026-99414 Stack buffer overflow in Gammu backup text export corrupts memoryPriority MEDIUM 55
    • TI-2026-99410 Stack-based buffer overflow in Gammu via crafted backup filesPriority LOW 38

Timeline

  1. 2026-11-28 Threatist record created from CVE-2026-138161
  2. 2026-11-28 Alias added: GHSA-x549-h79p-3567
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-99412 Stack-based buffer overflow in Gammu ALCATEL_EncodeString() function CVSS 4.0HIGH 7.3
  • TI-2026-99414 Stack buffer overflow in Gammu backup text export corrupts memory CVSS 4.0MEDIUM 4.8
  • TI-2026-99410 Stack-based buffer overflow in Gammu via crafted backup files CVSS 4.0HIGH 8.5
  • TI-2026-99413 Heap overflow in Gammu backup reader lets attackers corrupt memory CVSS 4.0HIGH 8.5

Sources