PatchSiren cyber security CVE debrief
CVE-2026-138161 Gammu CVE debrief
A buffer overflow vulnerability exists in Gammu before version 1.45.2, specifically in the LoadBackup() function, which allows attackers to corrupt memory by providing an overly long MD5 value in a crafted backup file. This can lead to potential code execution or crashes when files are loaded using convertbackup or restore functions. The vulnerability poses a risk to systems handling backup and restore operations, particularly if they handle untrusted backup files. Defenders should assess exposure and prioritize updates to prevent potential code execution or crashes.
- 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 exposure and prioritize updates. Development teams using Gammu in their projects should verify that their versions are up-to-date and consider implementing additional validation and sanitization for backup files.
Why it matters
The buffer overflow vulnerability in Gammu before version 1.45.2 poses a risk to systems handling backup and restore operations. Defenders should prioritize updates and assess exposure to prevent potential code execution or crashes.
- Potential code execution or crashes when processing crafted backup files
- Memory corruption via buffer overflow in LoadBackup() function
- Need for validation and sanitization of backup files to prevent attacks
- Priority on updating Gammu to version 1.45.2 or later to address vulnerability
Technical summary
The LoadBackup() function in Gammu before version 1.45.2 is vulnerable to a buffer overflow attack. An attacker can provide an overly long MD5 value in a crafted backup file, leading to potential memory corruption and code execution when files are loaded using convertbackup or restore functions. The vulnerability is triggered by an overly long MD5 value, which can cause memory corruption via buffer overflow in LoadBackup() function. Defenders should prioritize updating Gammu to version 1.45.2 or later to address the buffer overflow vulnerability.
Defensive priority
Defenders should prioritize updating Gammu to version 1.45.2 or later to address the buffer overflow vulnerability. Systems using Gammu for backup and restore operations should be assessed for exposure, particularly if they handle untrusted backup files.
Recommended defensive actions
- Update Gammu to version 1.45.2 or later
- Assess systems using Gammu for backup and restore operations for exposure
- Verify that backup files are validated and sanitized before processing
- Monitor for potential crashes or anomalies in Gammu 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
Evidence notes
The CVE record and source item provide details on the buffer overflow vulnerability in Gammu before version 1.45.2. The vulnerability is triggered by an overly long MD5 value in a crafted backup file, potentially leading to memory corruption and code execution. Vendor documentation and source code references are provided for further analysis.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-138161 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-138161
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-138161 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-138161
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/138xxx/CVE-2026-138161.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb
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-buffer-overflow-via-loadbackup-md5-checksum
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.