PatchSiren cyber security CVE debrief
CVE-2026-138160 Gammu CVE debrief
A stack-based buffer overflow vulnerability exists in Gammu before version 1.45.2, specifically in the ReadBackupTextLen() function. This vulnerability allows attackers to overwrite stack memory by supplying crafted backup files with overlong quoted text values. These values are decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, potentially leading to crashes or code execution.
- Vendor
- Gammu
- Product
- Unknown
- CVSS
- HIGH 8.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-28
- Original CVE updated
- 2026-11-28
- Advisory published
- 2026-11-28
- Advisory updated
- 2026-11-28
Who should care
Defenders responsible for systems using Gammu for backup and restore operations should assess their exposure to this vulnerability. This includes administrators and security teams managing Gammu installations, particularly in environments where untrusted backup files may be processed.
Why it matters
CVE-2026-138160 is a high-severity vulnerability in Gammu before version 1.45.2, allowing for stack-based buffer overflow via crafted backup files. Defenders should prioritize patching and assessing exposure to prevent potential system compromise and data breaches.
- Potential system crashes due to buffer overflow
- Possible code execution leading to unauthorized access
- Need for urgent patching to prevent exploitation
- Requirement for inventory checks to identify affected systems
Technical summary
The ReadBackupTextLen() function in Gammu before version 1.45.2 is vulnerable to a stack-based buffer overflow. This occurs when the function attempts to decode overlong quoted text values from crafted backup files into a 10,000-byte stack array. Successful exploitation could lead to a crash or potential code execution. Defenders should prioritize updating Gammu to version 1.45.2 or later to mitigate this vulnerability. Systems using Gammu for backup and restore operations should be assessed for exposure, and inventory checks should be performed to identify potentially affected instances.
Defensive priority
Defenders should prioritize updating Gammu to version 1.45.2 or later to mitigate this vulnerability. Systems using Gammu for backup and restore operations should be assessed for exposure, and inventory checks should be performed to identify potentially affected instances.
Recommended defensive actions
- Update Gammu to version 1.45.2 or later
- Assess Gammu usage and perform inventory checks to identify potentially affected instances
- Monitor systems for suspicious activity related to Gammu backup and restore operations
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details about the vulnerability, including its existence in Gammu before version 1.45.2 and the potential for stack-based buffer overflow. However, there is limited information on exploitation, victims, or specific business impacts.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-138160 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-138160
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-138160 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-138160
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/138xxx/CVE-2026-138160.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/releases/tag/1.45.2
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu
Supplemental source - product
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlen
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.