Gammu
Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.45.2
Fixed in 1.45.2
Mitigation
Upgrade Gammu to 1.45.2 or later.
References
- Vendor advisory github.com/gammu/gammu/security/advisories/GHS…
- Patch github.com/gammu/gammu/commit/e0bf2fa08a78afeb…
- Release notes github.com/gammu/gammu/releases/tag/1.45.2
Timeline
Days relative to CVE publicationFirst public PoC 2.1 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-138163 (created 30 Nov 2026, found by us: 30 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-138163 | 30 Nov 2026 +2.1 d | 30 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.