{"id":"CVE-2026-138160","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()","description":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.","ai_summary":{"text":"An attacker can overflow a stack buffer in Gammu by supplying a crafted backup file with overlong quoted text, causing crashes or potential code execution.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":8.5,"version":"4.0","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","source":"CNA"},"scores":[{"score":8.5,"source":"cna","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","version":"4.0"},{"score":7.8,"source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":8.5,"source":"cna","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/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 ReadBackupTextLen()","quote":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen()","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-74cq-mvwr-5wgm","kind":"vendor"},{"url":"https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf","kind":"patch"},{"url":"https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe","kind":"patch"},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277","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-readbackuptextlen","kind":"other"}],"workarounds":null,"vendors":["gammu"],"products":["gammu"],"cpes":[],"published_at":"2026-11-28T02:21:54.539Z","modified_at":"2026-11-28T03:17:07.910Z","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-138160"}],"links":{"html":"https://flawdb.com/CVE-2026-138160","markdown":"https://flawdb.com/CVE-2026-138160.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138160"}}