{"id":"CVE-2026-138162","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()","description":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.","ai_summary":{"text":"An attacker can overflow a stack buffer in Gammu's ALCATEL_EncodeString() via a crafted backup restored to an attached Alcatel phone, crashing Gammu or potentially executing code.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":7.3,"version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"CNA"},"scores":[{"score":7.3,"source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":7,"source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.3,"source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/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 ALCATEL_EncodeString()","quote":"Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString()","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-3x76-xc9w-q78p","kind":"vendor"},{"url":"https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689","kind":"patch"},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916","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-alcatel-encodestring","kind":"other"}],"workarounds":null,"vendors":["gammu"],"products":["gammu"],"cpes":[],"published_at":"2026-11-28T02:21:52.313Z","modified_at":"2026-11-28T03:17:08.223Z","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-138162"}],"links":{"html":"https://flawdb.com/CVE-2026-138162","markdown":"https://flawdb.com/CVE-2026-138162.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138162"}}