CVE-2026-138163

high

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.

References

https://www.vulncheck.com/advisories/gammu-before-1.45.2-heap-buffer-overflow-via-readwapsettingsentry

https://github.com/gammu/gammu/security/advisories/GHSA-vppj-6q2c-vq79

https://github.com/gammu/gammu/releases/tag/1.45.2

https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52e

https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L2814-L2896

https://github.com/gammu/gammu

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137550

Details

Source: Mitre, NVD

Published: 2026-11-28

Updated: 2026-11-28

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 8.5

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

Severity: High

EPSS

EPSS: 0.00234