Home › CVE › Vulnerabilities
CVE-2026-138160 — Gammu
One of 5 Gammu vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesData protectionResearch article
Gammu Stack-Based Buffer Overflow in ReadBackupTextLen()
| CVE | CVE-2026-138160 |
|---|---|
| Vendor and product | Gammu |
| Published | November 28, 2026 13:05 UTC |
| Research cut-off | November 28, 2026 12:20 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-28); CISA KEV catalog |
Executive summary
CVE-2026-138160 impacts Gammu versions prior to 1.45.2, enabling attackers to manipulate stack memory through specially crafted backup files [1]. The CVSS 3.1 score is 7.8 HIGH, assigned by disclosure@vulncheck.com [1]. The reviewed sources do not indicate any known exploitation [2]. The recorded fixed version is 1.45.2 [1].
Key points
- CVE-2026-138160 impacts Gammu versions before 1.45.2 [1].
- The CVSS 3.1 score is 7.8 HIGH, assigned by disclosure@vulncheck.com [1].
- The reviewed sources do not indicate any known exploitation [2].
- The recorded fixed version is 1.45.2 [1].
- The vulnerability allows attackers to manipulate stack memory through specially crafted backup files [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-138160 | Gammu | Gammu | CWE-121 | 8.5 HIGH, scored by disclosure@vulncheck.com | 7.8 HIGH, scored by disclosure@vulncheck.com |
| Published | Last Modified | Record Status | |||
| 2026-11-28T03:17:07 | 2026-11-28T03:17:07 | Received |
Vulnerability description
A stack-based buffer overflow issue exists in the ReadBackupTextLen() function of Gammu versions before 1.45.2. Attackers can corrupt stack memory by supplying excessively long quoted text values during convertbackup, restore, or GSMReadBackupFile operations, which may result in system crashes or potential code execution [1].
Attack surface and exploitation prerequisites
The CVSS 3.1 vector indicates that an attacker requires local access, user interaction, and the vulnerability has a high impact on confidentiality, integrity, and availability [1].
Impact analysis
The CVSS 3.1 vector indicates that an attacker requires local access, user interaction, and the vulnerability has a high impact on confidentiality, integrity, and availability [1]. The official description notes that attackers could cause crashes or potential code execution [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| Gammu < 1.45.2 | 1.45.2 |
Exploitation and threat intelligence status
CVE-2026-138160 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-28 [2]. The reviewed sources do not report exploitation [2].
Detection and exposure assessment
Users can check whether their installed version of Gammu is below 1.45.2, which is the version the record lists as fixed [1]. No detection steps are provided by the sources.
Remediation
The fixed version is 1.45.2 [1].
Remediation checklist
- Upgrade Gammu to version 1.45.2, the fixed version listed [1].
- Monitoring system logs for unusual activity is general defensive guidance, not a source-backed fact.
- Review backup files for potential malicious content.
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 for exploitation.
- The sources do not provide indicators of compromise.
- The sources do not describe how the flaw works.
References
- CVE-2026-138160 record. NIST National Vulnerability Database (NVD), 2026-11-28. https://nvd.nist.gov/vuln/detail/CVE-2026-138160. 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 ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.
Severity breakdown
High · 8.5
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- 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/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf
- github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe
- github.com/gammu/gammu/releases/tag/1.45.2
Other references
Affected
- Gammu
Frequently asked questions
What is CVE-2026-138160?
CVE-2026-138160 impacts Gammu versions prior to 1.45.2, enabling attackers to manipulate stack memory through specially crafted backup files. The CVSS 3.1 score is 7.8 HIGH, assigned by disclosure@vulncheck.com. The reviewed sources do not indicate any known exploitation. The recorded fixed version is 1.45.2. Weakness type: Stack-based Buffer Overflow (CWE-121).
How severe is CVE-2026-138160?
CVE-2026-138160 has a CVSS 4.0 base score of 8.5 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-138160 being exploited?
Not as far as is known: CVE-2026-138160 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-138160?
Gammu < 1.45.2 (fixed in 1.45.2).
How do I fix CVE-2026-138160?
Upgrade Gammu to version 1.45.2, the fixed version listed. Monitoring system logs for unusual activity is general defensive guidance, not a source-backed fact. Review backup files for potential malicious content.