Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › Gammu

High 8.5 5 CVEs Analysis

Gammu Backup Parsing Flaws: Five Buffer Overflows Fixed in Version 1.45.2

NVD published five buffer overflow vulnerabilities in Gammu on 2026-11-28, all affecting versions before 1.45.2. Three are rated HIGH at CVSS 8.5, and the records say crafted backup files could cause crashes or potentially code execution.

What to look into

  • 5 vulnerabilities in Gammu: 4 high, 1 medium (CVSS up to 8.5).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-138161 (8.5 high): Gammu Buffer Overflow Vulnerability in LoadBackup() Allows Code Execution. An attacker without an account can exploit this with local access if a user views or visits something.
  • 0 of 5 can be attacked over the network without logging in.
  • Kinds of flaws: Stack-based Buffer Overflow (×3); Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); Heap-based Buffer Overflow.
Data protectionVulnerabilities

Key points

  • Five buffer overflows in Gammu, all affecting versions before 1.45.2
  • Three CVEs rated HIGH at CVSS 8.5: CVE-2026-138161, CVE-2026-138163, and CVE-2026-138160
  • Most flaws are triggered by crafted backup files during restore or conversion
  • The records describe possible crashes or code execution; no known exploitation is stated

Five memory-corruption flaws in Gammu

NVD published five CVEs for Gammu on 2026-11-28. The records describe all of them as buffer overflows in Gammu versions before 1.45.2, and four of the five are triggered by crafted backup files processed through convertbackup, restore, addnew, or GSMReadBackupFile.

What the flaws have in common

The flaws sit in different functions, but they share a pattern: input from a backup file is copied or decoded into memory without adequate size checks. CVE-2026-138161 involves an overlong MD5 value copied with strcpy() into MD5Original in LoadBackup(). CVE-2026-138163 is a heap overflow in ReadWAPSettingsEntry() triggered by more than four TitleNN keys in a WAPSettings or MMSSettings section. CVE-2026-138160 is a stack overflow in ReadBackupTextLen() caused by overlong quoted text decoded into a 10,000-byte stack array. CVE-2026-138164, in SaveBackupText(), is a stack overflow that the record says occurs when long calendar or note fields are converted with convertbackup. CVE-2026-138162 is a stack overflow in ALCATELEncodeString() triggered by oversized encoded phonebook text and GSM extension characters, when a crafted backup is restored to an attached Alcatel phone.

Severity and impact

The three most severe records are CVE-2026-138161, CVE-2026-138163, and CVE-2026-138160, each rated HIGH at CVSS 8.5. CVE-2026-138162 is rated HIGH at CVSS 7.3, and CVE-2026-138164 is rated MEDIUM at CVSS 4.8. The records say the flaws may cause crashes or potentially code execution. None of the records states that these flaws are known to be exploited in the wild.

Workarounds and detection

The records do not state a workaround or detection method beyond the fixed version.

What to do

  1. Upgrade Gammu to version 1.45.2, the version the records name as fixed
  2. Until upgraded, avoid loading backup files from untrusted sources with convertbackup, restore, addnew, or GSMReadBackupFile, since these are the trigger paths the records describe

Our article about all 5 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 5 vulnerabilities

  • CVE-2026-138161 8.5 Gammu Buffer Overflow Vulnerability in LoadBackup() Allows Code Execution
  • CVE-2026-138163 8.5 Gammu Heap Buffer Overflow in ReadWAPSettingsEntry()
  • CVE-2026-138160 8.5 Gammu Stack-Based Buffer Overflow in ReadBackupTextLen()
  • CVE-2026-138162 7.3 Gammu Stack Overflow in Alcatel Encoding Allows Code Execution
  • CVE-2026-138164 4.8 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…

Frequently asked questions

How many Gammu vulnerabilities were published on November 28, 2026?

5 vulnerabilities: 4 high, 1 medium, with CVSS scores up to 8.5.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-138161 (CVSS 8.5): Gammu Buffer Overflow Vulnerability in LoadBackup() Allows Code Execution.

Original records