CVE-2026-138162

NameCVE-2026-138162
DescriptionGammu 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gammu (PTS)bookworm1.42.0-8vulnerable
trixie1.42.0-10vulnerable
forky1.45.0-2vulnerable
sid1.45.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gammusource(unstable)1.45.2-1

Notes

https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p
Fixed by: https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689 (1.45.2)

Search for package or bug name: Reporting problems