Gammu before 1.45.2 Stack-Based Buffer Overflow via ALCATEL_EncodeString()
CVE-2026-138162Published 28 Nov 2026, 02:21 UTC
Real-world risk
0.7/ 10Low
Routine
If the vulnerable configuration applies to you: 1.5
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| GammuNiche | < 1.45.2 | 1.45.2 |
What to do
Update to a fixed version: 1.45.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 35), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.071
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.0709 × threat 0.950.673
- Rounded to one decimal between 0.1 and 100.7
Exploitation and evidence timeline
- 28 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.7 (cvss fallback)
Weakness
CWE-121
References
- https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78pexploit, vendor-advisory
- https://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689patch
- https://github.com/gammu/gammu/releases/tag/1.45.2release-notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916technical-description
- https://github.com/gammu/gammuproduct
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestringthird-party-advisory
- CVE-2026-138162 on CVE.org