CVE-2026-138163
published high CVSS 4.0 · 8.5Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
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 heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, 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-122 Heap-based Buffer Overflow
References
6- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L2814-L2896
- https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52e
- Gammu 1.45.2 Release Notes https://github.com/gammu/gammu/releases/tag/1.45.2
- GitHub Security Advisory (GHSA-vppj-6q2c-vq79) https://github.com/gammu/gammu/security/advisories/GHSA-vppj-6q2c-vq79
- VulnCheck Advisory: Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry() https://www.vulncheck.com/advisories/gammu-before-1.45.2-heap-buffer-overflow-via-readwapsettingsentry
Provider assertions
1VulnCheck · cna
Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 02d9ca114eae49acb45ee41d8c98239e9885b445ea8789a52e48163fa562fed5
- Ingested
- 28 Nov 2026, 02:28:46 UTC
- Source record
- Official CVE record