CVE-2026-138162

high

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.

References

https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring

https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p

https://github.com/gammu/gammu/releases/tag/1.45.2

https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689

https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916

https://github.com/gammu/gammu

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137551

Details

Source: Mitre, NVD

Published: 2026-11-28

Updated: 2026-11-28

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 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

Severity: High

EPSS

EPSS: 0.00222