{"id":"CVE-2026-138162","aliases":["CVE-2026-138162"],"related":[],"kind":"vulnerability","state":"published","title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-28T02:21:52.313Z","modified":"2026-11-30T16:17:20.563Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.45.2","status":"affected"}],"vendor":"Gammu","product":"Gammu","repo":"https://github.com/gammu/gammu","source":"cvelist"}],"references":[{"url":"https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gammu/gammu/releases/tag/1.45.2","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gammu/gammu","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Deus Rex"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-30T15:53:11.598Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138162","url":"https://www.cve.org/CVERecord?id=CVE-2026-138162","licence":"CVE Terms of Use","modified":"2026-11-30T15:53:50.230Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138162","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138162","licence":"Public domain","modified":"2026-11-30T16:17:20.563Z"}],"updatedAt":"2026-11-30T16:32:17.564Z","epss":{"score":0.00392,"percentile":0.35433,"date":"2026-12-01T12:00:22.000Z"}}