CVE-2026-138162
published high CVSS 4.0 · 7.3Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()
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 ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.
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
- 7.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/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.0 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/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
6- https://github.com/gammu/gammu
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916
- https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689
- Gammu 1.45.2 Release Notes https://github.com/gammu/gammu/releases/tag/1.45.2
- GitHub Security Advisory (GHSA-3x76-xc9w-q78p) https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p
- VulnCheck Advisory: Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString() https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring
Provider assertions
2VulnCheck · cna
Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 788caa5ae2697400ac6983accc855373f812a6734918fafc7a321af03be32755
- Ingested
- 30 Nov 2026, 18:37:21 UTC
- Source record
- Official CVE record