Read the docs

Stack-based buffer overflow in Gammu ALCATEL_EncodeString() function

Priority HIGH 67CWE-121Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
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-121 and the CVSS impact.

Summary

Gammu before 1.45.2 contains a stack-based buffer overflow in ALCATEL_EncodeString() (CWE-121) that lets oversized encoded phonebook text overwrite stack memory. An attacker supplies 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. Exploitation requires user interaction and local access, and the CVSS 4.0 base score is 7.3.

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

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00219 7th percentileScored 2026-11-30
Fix Fixed Gammu (Gammu): 1.45.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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

Upgrade Gammu to version 1.45.2 or later, which fixes the flaw. The sources list no fixed version for Gammu beyond 1.45.2.

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

  • 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-99414 Stack buffer overflow in Gammu backup text export corrupts memoryPriority MEDIUM 55
    • TI-2026-99411 Buffer overflow in Gammu backup loading corrupts memoryPriority LOW 38
    • 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-138162
  2. 2026-11-28 Alias added: GHSA-gr2c-gxjj-cc7v
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-99414 Stack buffer overflow in Gammu backup text export corrupts memory CVSS 4.0MEDIUM 4.8
  • TI-2026-99411 Buffer overflow in Gammu backup loading corrupts memory CVSS 4.0HIGH 8.5
  • 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