CVE-2026-138161 - Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
Vulnerability · Reported by NVD · · CWE-120
- Severity
- High Risk score 85/100
- CVSS
- 8.5 v4.0 · from NVD
- Exploit chance (EPSS)
- 0.23% Higher than 8% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a classic buffer overflow flaw (CWE-120). 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.23% chance this CVE will be exploited in the next 30 days, which is low and higher than 8% of all published CVEs.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 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:H/VI:H/VA:H/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
Tags
CVE-2026-138161
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-138161 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.