CVE-2026-138164

low
EUVD alias: EUVD-2026-137549
Assigned by CNA: vulncheck
Published 2026-11-28 · Modified 2026-11-30
CVSS v3
3.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS v4 NEW
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
VIR risk
3.3

Description

Gammu 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.

Predictions

Exploit likelihood
34%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

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.…

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)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68wFixed by: https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799 (1.45.2)

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie gammu Affected —
sid gammu Fixed 1.45.2-1
forky gammu Affected —
bookworm gammu Affected —

Application impact

VendorProductVersionsFixed
gammugammu{"endExcluding":"1.45.2"}1.45.2

References

CWEs

CWE-121

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.