CVE-2026-138164
Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()
Medium · 4.8Fix available
- CVSS
- 4.8
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- Gammu Gammu
- Aliases
- GHSA-f954-jx97-g68w
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
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.
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-f954-jx97-g68w vendor-advisory
- https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799 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#L165-L189 technical-description
- https://github.com/gammu/gammu product
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138164.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-138164 advisory