CVE-2026-138161
published high CVSS 4.0 · 8.5Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
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 buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, 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-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
6- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L3282
- https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb
- Gammu 1.45.2 Release Notes https://github.com/gammu/gammu/releases/tag/1.45.2
- GitHub Security Advisory (GHSA-cp4c-2vv3-mrr7) https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7
- VulnCheck Advisory: Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum
Provider assertions
2VulnCheck · cna
Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d90c4fe7efeefa5dbde30d5b2f056d0bcaf4fe19b222bdb59bdb6de6eaa851d1
- Ingested
- 30 Nov 2026, 18:37:21 UTC
- Source record
- Official CVE record