CVE-2026-138160
Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- Gammu Gammu
- Aliases
- GHSA-74cq-mvwr-5wgm
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
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.
Fixed in
1.45.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gammu | >=0, <1.45.2 | 1.45.2 |
Sources
- NVD · first seen 11h ago · NVD terms of use
- OSV · first seen 10h ago · CC-BY 4.0
- CVE List · first seen 11h ago · CVE Terms of Use
References
- https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm vendor-advisory
- https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf patch
- https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe patch
- https://github.com/gammu/gammu/releases/tag/1.45.2 release-notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277 technical-description
- https://github.com/gammu/gammu product
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlen third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138160.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-138160 advisory