PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-138162 Gammu CVE debrief

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.

Vendor
Gammu
Product
Unknown
CVSS
HIGH 7.3
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, particularly those using versions prior to 1.45.2, should assess exposure and prioritize patching to prevent potential crashes or code execution.

Why it matters

Defenders should prioritize patching Gammu installations to version 1.45.2 or later due to a stack-based buffer overflow vulnerability in ALCATEL_EncodeString(). The vulnerability allows attackers to overwrite stack memory via oversized encoded phonebook text, potentially leading to system crashes or code execution. Affected systems should be verified for exposure to untrusted inputs, and monitoring for unusual behavior is recommended.

  • Potential system crashes or instability
  • Possible code execution via crafted inputs
  • Need for patching to prevent exploitation
  • Verification of system exposure to untrusted inputs

Technical summary

The vulnerability exists in the ALCATEL_EncodeString() function of Gammu before version 1.45.2. An attacker 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. This issue allows attackers to overwrite stack memory via oversized encoded phonebook text. Defenders should prioritize patching Gammu installations to version 1.45.2 or later, and verify that affected systems are not exposed to untrusted inputs.

Defensive priority

Defenders should prioritize patching Gammu installations to version 1.45.2 or later, and verify that affected systems are not exposed to untrusted inputs.

Recommended defensive actions

  • Patch Gammu installations to version 1.45.2 or later
  • Verify that affected systems are not exposed to untrusted inputs
  • Monitor systems for potential crashes or unusual behavior
  • 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 on the vulnerability, including the affected version and patch information. However, there is limited information on potential exploitation or victim impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-138162 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-138162 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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 ALCATEL_EncodeString()

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/gammu/gammu/security/advisories/GHSA-3x76-xc9w-q78p

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

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

    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/phone/alcatel/alcatel.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-alcatel-encodestring

    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.