HackerFeeds
All CVEs

CVE-2026-138162: Gammu Stack-based Buffer Overflow

HIGH7.0

Published 2026-11-28 · Updated 2026-12-03 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — update Gammu to 1.45.2 or later in your next patch cycle.

What to do

  1. Update Gammu to version 1.45.2 or later. Versions before 1.45.2 are affected.
  2. Until it is patched, limit who has a local account on systems running Gammu.
  3. Keep exploit mitigations (stack canaries, ASLR, DEP) enabled and avoid exposing the affected interface to untrusted input.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
Gammu< 1.45.21.45.2

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality, integrity and availability is rated high.

CVSS 3.1 metrics for CVE-2026-138162
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

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

Weakness: Stack-based Buffer Overflow

Oversized input overwrites the stack, which can crash the software or let an attacker take control of execution.

Classified as CWE-121.

Description

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.

Advisory text as published in the NVD record.

View on NVD