CVE-2026-138161

NameCVE-2026-138161
DescriptionGammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, 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-cp4c-2vv3-mrr7
Fixed by: https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb (1.45.2)

Search for package or bug name: Reporting problems