{"id":"CVE-2026-138164","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()","description":"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.","ai_summary":{"text":"An attacker can overflow a stack buffer in Gammu by supplying a crafted backup with long calendar or note fields that gammu convertbackup processes.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"medium","cvss":{"score":4.8,"version":"4.0","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","source":"CNA"},"scores":[{"score":4.8,"source":"cna","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","version":"4.0"},{"score":3.3,"source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},{"score":4.8,"source":"cna","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"cwe":["CWE-121"],"remote":false,"remote_unauth":false,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Gammu","product":"Gammu","versions":"< 1.45.2"}],"ai_versions":{"affected":[{"text":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText()","quote":"Gammu before 1.45.2","product":"gammu"}],"fixed":[{"quote":"Gammu before 1.45.2","product":"gammu","version":"1.45.2"}],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"Upgrade Gammu to 1.45.2 or later.","technologies":[],"references":[{"url":"https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w","kind":"vendor"},{"url":"https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799","kind":"patch"},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189","kind":"article"},{"url":"https://github.com/gammu/gammu/releases/tag/1.45.2","kind":"other"},{"url":"https://github.com/gammu/gammu","kind":"other"},{"url":"https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext","kind":"other"}],"workarounds":null,"vendors":["gammu"],"products":["gammu"],"cpes":[],"published_at":"2026-11-28T02:21:50.066Z","modified_at":"2026-11-28T03:17:08.537Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138164"}],"links":{"html":"https://flawdb.com/CVE-2026-138164","markdown":"https://flawdb.com/CVE-2026-138164.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138164"}}