CVE-2026-138163
Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- —
- Published
- 2026-11-28
- Age
- 12h old
- Modified
- 2026-11-28
- Product
- Gammu Gammu
- Aliases
- GHSA-vppj-6q2c-vq79
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
Fixed in
1.45.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gammu | >=0, <1.45.2 | 1.45.2 |
Sources
- NVD · first seen 11h ago · NVD terms of use
- OSV · first seen 10h ago · CC-BY 4.0
- CVE List · first seen 11h ago · CVE Terms of Use
References
- https://github.com/gammu/gammu/security/advisories/GHSA-vppj-6q2c-vq79 vendor-advisory
- https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52e patch
- https://github.com/gammu/gammu/releases/tag/1.45.2 release-notes
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L2814-L2896 technical-description
- https://github.com/gammu/gammu product
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-heap-buffer-overflow-via-readwapsettingsentry third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138163.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-138163 advisory