CVE-2026-138160

7.8High

Published Nov 28, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-121

What an attacker gets

Attackers can execute arbitrary code or crash the application by providing a malicious backup file. This requires a user to trigger a restore or backup process with a crafted file.

Root cause

A stack-based buffer overflow occurs in ReadBackupTextLen() because it fails to properly validate the length of quoted text values before copying them into a fixed-size stack array.

Affected versions

Gammu versions before 1.45.2

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to Gammu 1.45.2 or later. Do not process untrusted backup files until the update is applied.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade gammu

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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 GSM_ReadBackupFile calls, causing crashes or potential code execution.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138160

More fully triaged vulnerabilities you may want to check next.