CVE-2026-138164
published medium CVSS 4.0 · 4.8Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()
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 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.
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
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | — |
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
6- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189
- https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799
- Gammu 1.45.2 Release Notes https://github.com/gammu/gammu/releases/tag/1.45.2
- GitHub Security Advisory (GHSA-f954-jx97-g68w) https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText() https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext
Provider assertions
2VulnCheck · cna
Gammu before 1.45.2 Stack-Based Buffer Overflow via SaveBackupText()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 97baac876af77dfab2fcb6a29dcb4e2299d96904c4c48d93f29e894260248739
- Ingested
- 30 Nov 2026, 18:37:21 UTC
- Source record
- Official CVE record