Gammu 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.
https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm
https://github.com/gammu/gammu/releases/tag/1.45.2
https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe
https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf
https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277
Published: 2026-11-28
Updated: 2026-11-28
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High
Base Score: 8.5
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00234