CVE-2026-138161
Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- Gammu Gammu
- Aliases
- GHSA-cp4c-2vv3-mrr7
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
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.
Fixed in
1.45.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gammu | >=0, <1.45.2 | 1.45.2 |
Sources
- NVD · first seen 11h ago · NVD terms of use
- OSV · first seen 10h ago · CC-BY 4.0
- CVE List · first seen 11h ago · CVE Terms of Use
References
- https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7 vendor-advisory
- https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb patch
- https://github.com/gammu/gammu/releases/tag/1.45.2 release-notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282 technical-description
- https://github.com/gammu/gammu product
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138161.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-138161 advisory