PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-138163 Gammu CVE debrief

Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. This vulnerability can lead to potential code execution and heap memory corruption, especially in environments where backup files are loaded from untrusted sources. Defenders should assess exposure and prioritize verification and updates to version 1.45.2 or later. The vulnerability is triggered by supplying a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile.

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 Gammu installations, especially in environments where backup files are loaded from untrusted sources, should assess exposure and prioritize verification and updates.

Why it matters

Defenders should prioritize verifying and updating Gammu installations to version 1.45.2 or later, especially in environments where backup files are loaded from untrusted sources, to prevent potential code execution and heap memory corruption.

  • Potential code execution via crafted backup files
  • Heap memory corruption via excess WAP or MMS settings entries
  • Crashes or potential code execution via convertbackup, restore, or GSM_ReadBackupFile

Technical summary

The vulnerability is caused by a heap-based buffer overflow in the ReadWAPSettingsEntry() function, which allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. This can lead to potential code execution and heap memory corruption. The vulnerability is triggered by supplying a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile. Defenders should prioritize verifying and updating Gammu installations to version 1.45.2 or later, especially in environments where backup files are loaded from untrusted sources.

Defensive priority

Defenders should prioritize verifying and updating Gammu installations to version 1.45.2 or later, especially in environments where backup files are loaded from untrusted sources.

Recommended defensive actions

  • Verify Gammu installations and update to version 1.45.2 or later
  • Review backup files for potential crafted entries
  • Implement input validation and sanitization for backup file loading
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • 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 heap-based buffer overflow vulnerability in Gammu before 1.45.2. The vulnerability is triggered by crafted backup files with excess WAP or MMS settings entries.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-138163 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-138163

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-138163 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-138163

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Gammu before 1.45.2 Heap Buffer Overflow via ReadWAPSettingsEntry()

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/138xxx/CVE-2026-138163.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/gammu/gammu/security/advisories/GHSA-vppj-6q2c-vq79

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/gammu/gammu/commit/e0bf2fa08a78afebd493f7f00ea12ef9276ff52e

    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-heap-buffer-overflow-via-readwapsettingsentry

    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.