CVE-2026-138162Gammu Stack-based Buffer Overflow
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.3 (HIGH)
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.0)
CVSS v3.1 Base Metrics — Score 7.0 (HIGH)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Gammu < 1.45.2
- Gammu 1.45.2
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Gammu and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 28, 2026Published
- Nov 28, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Gammu CVEsYou are reading CVE-2026-138162. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p
- Patchhttps://github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689
- Referencehttps://github.com/gammu/gammu/releases/tag/1.45.2
- Referencehttps://github.com/gammu/gammu/blob/1.45.1/libgammu/phone/alcatel/alcatel.c#L876-L916
- Referencehttps://github.com/gammu/gammu
- Referencehttps://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-alcatel-encodestring
Data last checked: Nov 28, 2026 03:30 UTC