# CVE-2026-138163: Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-11-28T02:21:51.192Z
- Modified: 2026-11-28T02:21:51.192Z
- Weaknesses: CWE-122
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Gammu Gammu: before 1.45.2

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-138163](https://www.cve.org/CVERecord?id=CVE-2026-138163), CVE Terms of Use, modified 2026-11-28

---

Page: https://cve.day/CVE-2026-138163 · Whole record: https://cve.day/CVE-2026-138163.json · Rebuilt by cve.day 2026-11-28T02:37:10.970Z
