{"id":"CVE-2026-138164","aliases":["GHSA-f954-jx97-g68w"],"title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()","originalDescription":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.","severity":{"cvss":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","label":"medium"},"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-f954-jx97-g68w","type":"vendor-advisory"},{"url":"https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799","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#L165-L189","type":"technical-description"},{"url":"https://github.com/gammu/gammu","type":"product"},{"url":"https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138164.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138164","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T03:27:08.897Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138164","license":"NVD terms of use","firstSeenAt":"2026-11-28T03:27:08.897Z"},{"name":"osv","at":"2026-11-28T04:33:36.287Z","url":"https://osv.dev/vulnerability/CVE-2026-138164","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T04:33:36.287Z"},{"name":"cvelistV5","at":"2026-11-28T13:51:56.275Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138164","license":"CVE Terms of Use","firstSeenAt":"2026-11-28T02:51:43.567Z"}],"firstSeenAt":"2026-11-28T02:51:43.567Z","publishedAt":"2026-11-28T02:21:50.066Z","modifiedAt":"2026-11-28T04:00:32.906Z"}