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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Gammu Gammu
Default version status: unaffected
0 to < 1.45.2affected
pkg:github/gammu/gammuReferences
- https://github.com/gammu/gammu/security/advisories/GHSA-f954-jx97-g68w ↗
- https://github.com/gammu/gammu/commit/6ea5148f35995aa8ca02b0c5e4654a125405e799 ↗
- https://github.com/gammu/gammu/releases/tag/1.45.2 ↗
- https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L165-L189 ↗
- https://github.com/gammu/gammu ↗
- https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-savebackuptext ↗