High severity7.8NVD Advisory· Published Nov 28, 2026
CVE-2026-138160
CVE-2026-138160
Description
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.
Patches
Vulnerability mechanics
References
6- github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.cnvd
- github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cfnvd
- github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fenvd
- github.com/gammu/gammu/releases/tag/1.45.2nvd
- github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgmnvd
- www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlennvd
News mentions
0No linked articles in our index yet.