CVE-2026-138164
NVD
Vulnerability Summary
Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.
CVSS v4.0 Base Metrics — Score 4.8 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 3.3)
CVSS v3.1 Base Metrics — Score 3.3 (LOW)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Gammu < 1.45.2
- Gammu 1.45.2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- 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-138164. 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-f954-jx97-g68w
- Patchhttps://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799
- Referencehttps://github.com/gammu/gammu/releases/tag/1.45.2
- Referencehttps://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189
- Referencehttps://github.com/gammu/gammu
- Referencehttps://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext
Data last checked: Nov 29, 2026 23:14 UTC