{"id":"CVE-2026-138161","aliases":["GHSA-cp4c-2vv3-mrr7"],"title":"Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum","originalDescription":"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.","severity":{"cvss":8.5,"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Gammu","range":">=0, <1.45.2","fixed":"1.45.2"}],"references":[{"url":"https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7","type":"vendor-advisory"},{"url":"https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb","type":"patch"},{"url":"https://github.com/gammu/gammu/releases/tag/1.45.2","type":"release-notes"},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282","type":"technical-description"},{"url":"https://github.com/gammu/gammu","type":"product"},{"url":"https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138161.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138161","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T03:27:08.889Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138161","license":"NVD terms of use","firstSeenAt":"2026-11-28T03:27:08.889Z"},{"name":"osv","at":"2026-11-28T04:33:36.141Z","url":"https://osv.dev/vulnerability/CVE-2026-138161","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T04:33:36.141Z"},{"name":"cvelistV5","at":"2026-11-28T13:51:56.092Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138161","license":"CVE Terms of Use","firstSeenAt":"2026-11-28T02:51:43.394Z"}],"firstSeenAt":"2026-11-28T02:51:43.394Z","publishedAt":"2026-11-28T02:21:53.445Z","modifiedAt":"2026-11-28T04:00:32.901Z"}