CVE-2026-138160
published high CVSS 4.0 · 8.5Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gammu | — | Gammu0 to < 1.45.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gammu | Gammu | 0 to < 1.45.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-121 Stack-based Buffer Overflow
References
7- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277
- https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf
- https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe
- Gammu 1.45.2 Release Notes https://github.com/gammu/gammu/releases/tag/1.45.2
- GitHub Security Advisory (GHSA-74cq-mvwr-5wgm) https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen() https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlen
Provider assertions
2VulnCheck · cna
Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b18eb009c3f2aadf9b1c4e155be296b860a22ca3a5a053d2ae2ebe837f1f5133
- Ingested
- 30 Nov 2026, 18:59:00 UTC
- Source record
- Official CVE record