CVE-2026-138160

NameCVE-2026-138160
DescriptionGammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.
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-74cq-mvwr-5wgm
Fixed by: https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf (1.45.2)
Fixed by: https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe (1.45.2)

Search for package or bug name: Reporting problems