CVE-2026-138164

NameCVE-2026-138164
DescriptionGammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.
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-f954-jx97-g68w
Fixed by: https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799 (1.45.2)

Search for package or bug name: Reporting problems