{"id":"CVE-2026-138162","aliases":["GHSA-3x76-xc9w-q78p"],"title":"Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()","originalDescription":"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.","severity":{"cvss":7.3,"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","label":"high"},"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-3x76-xc9w-q78p","type":"vendor-advisory"},{"url":"https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689","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/phone/alcatel/alcatel.c#L876-L916","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-alcatel-encodestring","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138162.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138162","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T03:27:08.891Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138162","license":"NVD terms of use","firstSeenAt":"2026-11-28T03:27:08.891Z"},{"name":"osv","at":"2026-11-28T04:33:36.399Z","url":"https://osv.dev/vulnerability/CVE-2026-138162","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T04:33:36.399Z"},{"name":"cvelistV5","at":"2026-11-28T13:51:56.104Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138162","license":"CVE Terms of Use","firstSeenAt":"2026-11-28T02:51:43.401Z"}],"firstSeenAt":"2026-11-28T02:51:43.401Z","publishedAt":"2026-11-28T02:21:52.313Z","modifiedAt":"2026-11-28T04:00:32.897Z"}