CVE-2026-138164

medium

Description

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.

References

https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext

https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w

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

https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799

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

https://github.com/gammu/gammu

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

Details

Source: Mitre, NVD

Published: 2026-11-28

Updated: 2026-11-28

Risk Information

CVSS v2

Base Score: 6.4

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

Severity: Medium

CVSS v3

Base Score: 3.3

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

Severity: Low

CVSS v4

Base Score: 4.8

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Severity: Medium

EPSS

EPSS: 0.0021