# CVE-2026-138162: Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()

- Severity: High 7.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-28T02:21:52.313Z
- Modified: 2026-11-30T16:17:20.563Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Gammu Gammu: before 1.45.2

## Every score

- VulnCheck: CVSS:4.0 7.3 High `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`
- VulnCheck: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p> (exploit, vendor-advisory)
- <https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689> (patch)
- <https://github.com/gammu/gammu/releases/tag/1.45.2> (release-notes)
- <https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916> (technical-description)
- <https://github.com/gammu/gammu> (product)
- <https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138162](https://www.cve.org/CVERecord?id=CVE-2026-138162), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138162](https://nvd.nist.gov/vuln/detail/CVE-2026-138162), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138162 · Whole record: https://cve.day/CVE-2026-138162.json · Rebuilt by cve.day 2026-11-30T16:32:17.564Z
