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.
https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w
https://github.com/gammu/gammu/releases/tag/1.45.2
https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799
https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189
Published: 2026-11-28
Updated: 2026-11-28
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P
Severity: Medium
Base Score: 3.3
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Severity: Low
Base Score: 4.8
Vector: 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
Severity: Medium
EPSS: 0.0021