CVE-2026-138161
7.8HighPublished Nov 28, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-120
What an attacker gets
Attackers can achieve code execution by providing a crafted backup file with an overlong MD5 value. This requires a user to process a malicious file using convertbackup or restore.
Root cause
A buffer overflow occurs because the LoadBackup function uses strcpy to copy an MD5 value into a fixed-size buffer without bounds checking.
Affected versions
Gammu 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. Avoid processing untrusted backup files until the package is updated.
$ sudo apt-get update && sudo apt-get install --only-upgrade gammuAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282
- https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb
- https://github.com/gammu/gammu/releases/tag/1.45.2
- https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1381627.0HighAttackers can execute arbitrary code or crash the application by providing a crafted backup file. This requires a user to perform a restore or addnew operation on an attached Alcatel phone.
- CVE-2026-1381607.8HighAttackers 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.
- CVE-2026-1381198.8HighUnauthenticated attackers can steal session cookies and take over Kestra instances by tricking a logged-in user into clicking a malicious link. This is a reflected cross-site scripting attack that executes arbitrary JavaScript in the user's browser.
- CVE-2026-1381187.8HighAttackers can execute arbitrary Python code by providing a malicious .hspy or .zspy file. A user must open or restore a crafted model file for the exploit to trigger.
- CVE-2026-13800410.0CriticalRemote unauthenticated attackers can execute arbitrary OS commands with root privileges. This is achieved by sending a crafted request to the UPnP Igd Control Endpoint.
- CVE-2026-1380039.0CriticalRemote attackers can execute arbitrary code via a stack-based buffer overflow. This requires sending a crafted SOAPAction request to the UPnP interface.