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.
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.23%
- Published
- Nov 28, 2026
- In the news
- Not yet
What to do
A serious buffer overflow in Gammu that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.45.2
Affected versions
- Gammu
- Before 1.45.2
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.
Affected products
Get alerts for these →Timeline 2
Latest change: Nessus plugin 387755: Linux Distros Unpatched Vulnerability : CVE-2026-138161 (Nov 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 30, 2026
Sat, Nov 28, 2026
- CVECVE-2026-138161 published (CVSS 7.8)CVE Program · 02:21 UTC
References 6
- github.com Patch /gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb
- github.com Vendor Advisory /gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7
- github.com /gammu/gammu/releases/tag/1.45.2
- github.com /gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282
- github.com /gammu/gammu
- www.vulncheck.com /advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum