Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-138161 — Gammu

High · CVSS 8.5EPSS 0.2% First seen November 28, 2026

One of 5 Gammu vulnerabilities published together by NVD: our article covers all of them.

VulnerabilitiesData protection

Research article

Gammu Buffer Overflow Vulnerability in LoadBackup() Allows Code Execution

CVECVE-2026-138161
Vendor and productGammu
PublishedNovember 28, 2026 10:20 UTC
Research cut-offNovember 28, 2026 09:55 UTC
Sources reviewed2: NVD record (last modified 2026-11-28); CISA KEV catalog

Executive summary

CVE-2026-138161 affects Gammu versions prior to 1.45.2, with a CVSS 3.1 score of 7.8 HIGH [1]. The flaw, a buffer overflow in LoadBackup(), could allow attackers to overwrite memory and potentially execute arbitrary code [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed version 1.45.2.

Key points

  • CVE-2026-138161 affects Gammu versions before 1.45.2 [1].
  • The vulnerability is a buffer overflow in LoadBackup() [1].
  • CVSS 3.1 score is 7.8 HIGH, indicating high risk [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to update to the fixed version 1.45.2 [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0 ScoreCVSS 3.1 ScorePublished DateLast Modified DateRecord Status
CVE-2026-138161GammuGammuCWE-1208.5 HIGH7.8 HIGH2026-11-282026-11-28Received

Vulnerability description

A buffer overflow flaw exists in the LoadBackup() function of Gammu versions before 1.45.2. Attackers can corrupt memory by providing an excessively long MD5 value in a specially crafted backup file. This could allow overwriting of adjacent phonebook and calendar entry pointers through the strcpy() function during file loading via convertbackup or restore, which might result in crashes or code execution [1].

Attack surface and exploitation prerequisites

The CVSS 3.1 score from the record rates the vulnerability as requiring local access and low attack complexity, and it requires user interaction [1]. The attacker must have local access to the system to exploit this flaw [1].

Impact analysis

The CVSS 3.1 vector indicates high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). The vulnerability could allow attackers to corrupt memory, which may lead to crashes or potential code execution [1].

Affected products and versions

Affected VersionFixed Version
Gammu < 1.45.21.45.2

Exploitation and threat intelligence status

CVE-2026-138161 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-28 [2]. The reviewed sources do not report exploitation.

Detection and exposure assessment

Readers can determine if they are exposed by checking if they are using Gammu versions less than 1.45.2. No detection steps are provided by the sources.

Remediation

The fixed version for Gammu is 1.45.2 [1]. Users are advised to update to this version to address the vulnerability.

Remediation checklist

  1. Update Gammu to version 1.45.2 [1].
  2. Review system logs for any signs of memory corruption or unexpected behavior.
  3. Restrict access to systems running Gammu to prevent local exploitation.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not provide a complete version range beyond what is listed.
  • The sources do not describe the attack lifecycle or scenarios.
  • The sources do not provide indicators of compromise.

References

  1. CVE-2026-138161 record. NIST National Vulnerability Database (NVD), 2026-11-28. https://nvd.nist.gov/vuln/detail/CVE-2026-138161. Accessed 2026-11-28. CVE identification, vulnerability description, CVSS scores, affected versions, and remediation.
  2. 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. Exploitation status and threat intelligence.

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

Gammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, causing crashes or potential code execution.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.5 CVSS 4.0 base score from the CNA (vulncheck.com)

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

Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 7.8 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Affected and fixed versions

ProductAffected versionsFixed in
Gammu< 1.45.21.45.2

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • Gammu

Frequently asked questions

What is CVE-2026-138161?

CVE-2026-138161 affects Gammu versions prior to 1.45.2, with a CVSS 3.1 score of 7.8 HIGH. The flaw, a buffer overflow in LoadBackup(), could allow attackers to overwrite memory and potentially execute arbitrary code. The reviewed sources do not report exploitation. The main action is to update to the fixed version 1.45.2. Weakness type: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CWE-120).

How severe is CVE-2026-138161?

CVE-2026-138161 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-138161 being exploited?

Not as far as is known: CVE-2026-138161 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-138161?

Gammu < 1.45.2 (fixed in 1.45.2).

How do I fix CVE-2026-138161?

Update Gammu to version 1.45.2. Review system logs for any signs of memory corruption or unexpected behavior. Restrict access to systems running Gammu to prevent local exploitation.

Timeline & sources

References