{"id":"CVE-2026-138163","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()","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.","ai_summary":{"text":"An attacker can craft a Gammu backup file with excess WAP or MMS settings entries to overflow a heap buffer, causing crashes or possible code execution in Gammu.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":8.5,"version":"4.0","vector":"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","source":"CNA"},"scores":[{"score":8.5,"source":"cna","vector":"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","version":"4.0"},{"score":7.8,"source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":8.5,"source":"cna","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"cwe":["CWE-122"],"remote":false,"remote_unauth":false,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Gammu","product":"Gammu","versions":"< 1.45.2"}],"ai_versions":{"affected":[{"text":"Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry()","quote":"Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry()","product":"gammu"}],"fixed":[{"quote":"Gammu before 1.45.2","product":"gammu","version":"1.45.2"}],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"Upgrade Gammu to 1.45.2 or later.","technologies":[],"references":[{"url":"https://github.com/gammu/gammu/security/advisories/GHSA-vppj-6q2c-vq79","kind":"vendor"},{"url":"https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52e","kind":"patch"},{"url":"https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L2814-L2896","kind":"article"},{"url":"https://github.com/gammu/gammu/releases/tag/1.45.2","kind":"other"},{"url":"https://github.com/gammu/gammu","kind":"other"},{"url":"https://www.vulncheck.com/advisories/gammu-before-1.45.2-heap-buffer-overflow-via-readwapsettingsentry","kind":"other"}],"workarounds":null,"vendors":["gammu"],"products":["gammu"],"cpes":[],"published_at":"2026-11-28T02:21:51.192Z","modified_at":"2026-11-28T03:17:08.383Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138163"}],"links":{"html":"https://flawdb.com/CVE-2026-138163","markdown":"https://flawdb.com/CVE-2026-138163.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138163"}}