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

Vulnerability · Reported by NVD · · CWE-121

Severity
Medium Risk score 48/100
CVSS
4.8 v4.0 · from NVD
Exploit chance (EPSS)
0.21% Higher than 6% of CVEs
Known exploited
No Not in CISA KEV

Summary

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.

How this vulnerability can be exploited

An attacker can exploit this vulnerability with local access to the system, without any login. Attack complexity is low, so no special conditions are needed.

Is it being exploited?

The EPSS model estimates a 0.21% chance this CVE will be exploited in the next 30 days, which is low and higher than 6% of all published CVEs.

Patch priority and what to do

Patch during routine updates. Lower severity, but keep it on your list. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-138164

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.