Home › CVE › Vulnerabilities
CVE-2026-138162 — Gammu
One of 5 Gammu vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesData protectionResearch article
Gammu Stack Overflow in Alcatel Encoding Allows Code Execution
| CVE | CVE-2026-138162 |
|---|---|
| Vendor and product | Gammu |
| Published | November 28, 2026 10:20 UTC |
| Research cut-off | November 28, 2026 09:55 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-28); CISA KEV catalog |
Executive summary
CVE-2026-138162 impacts Gammu versions prior to 1.45.2, enabling adversaries to modify stack memory through excessively large encoded phonebook data [1]. The CVSS 3.1 score is 7.0 HIGH, scored by disclosure@vulncheck.com [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to the fixed version 1.45.2.
Key points
- CVE-2026-138162 affects Gammu versions before 1.45.2 [1].
- The CVSS 3.1 score is 7.0 HIGH, scored by disclosure@vulncheck.com [1].
- The reviewed sources do not report exploitation [2].
- This flaw enables malicious actors to alter stack memory by utilizing overly lengthy encoded phonebook content [1].
- The main action is to upgrade to the fixed version 1.45.2 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 score | CVSS 3.1 score | Published Date | Last Modified Date | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-138162 | Gammu | Gammu | CWE-121 | 7.3 HIGH | 7.0 HIGH | 2026-11-28 | 2026-11-28 | Received |
Vulnerability description
A stack-based buffer overflow issue exists in the ALCATELEncodeString() function of Gammu versions prior to 1.45.2. Attackers can exploit this by sending overly large encoded phonebook data, which may lead to memory corruption or code execution [1].
Attack surface and exploitation prerequisites
The CVSS 3.1 scoring model indicates the vulnerability requires local access, no privileges, and user interaction [1]. The attacker must provide specially crafted input through a backup file restored using the gammu restore or addnew commands [1].
Impact analysis
The CVSS 3.1 vector shows a high risk to confidentiality, integrity, and availability. The flaw could result in Gammu crashing or allowing arbitrary code execution, which might grant the attacker control over the application [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| < 1.45.2 | 1.45.2 |
Exploitation and threat intelligence status
CVE-2026-138162 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-28 [2]. The reviewed sources do not report exploitation.
Detection and exposure assessment
Systems using Gammu versions before 1.45.2 are vulnerable. To identify affected systems, check the installed version against the vulnerable range [1].
Remediation
A fixed version of Gammu, 1.45.2, has been released [1]. Users may update to this version; the sources do not say how much this reduces the risk of exploitation.
Remediation checklist
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe a scenario in which the flaw is exploited.
- The sources do not provide indicators of compromise.
- The sources do not list any additional fixed versions.
References
- CVE-2026-138162 record. NIST National Vulnerability Database (NVD), 2026-11-28. https://nvd.nist.gov/vuln/detail/CVE-2026-138162. Accessed 2026-11-28.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-28. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-28.
Summary
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.
Severity breakdown
High · 7.3
An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-121: Stack-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Gammu | < 1.45.2 | 1.45.2 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/gammu/gammu/commit/a1c60cf0888052dd489d416a817b24d35dca2689
- github.com/gammu/gammu/releases/tag/1.45.2
Other references
Affected
- Gammu
Frequently asked questions
What is CVE-2026-138162?
CVE-2026-138162 impacts Gammu versions prior to 1.45.2, enabling adversaries to modify stack memory through excessively large encoded phonebook data. The CVSS 3.1 score is 7.0 HIGH, scored by disclosure@vulncheck.com. The reviewed sources do not report exploitation. The main action is to upgrade to the fixed version 1.45.2. Weakness type: Stack-based Buffer Overflow (CWE-121).
How severe is CVE-2026-138162?
CVE-2026-138162 has a CVSS 4.0 base score of 7.3 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-138162 being exploited?
Not as far as is known: CVE-2026-138162 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-138162?
Gammu < 1.45.2 (fixed in 1.45.2).
How do I fix CVE-2026-138162?
Upgrade Gammu to version 1.45.2. Verify the installed version against the affected range. Monitor for any signs of exploitation or unusual activity as general guidance, with no source attribution.