# CVE-2026-138160: Gammu before 1.45.2 Stack-Based Buffer Overflow via ReadBackupTextLen()

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-28T02:21:54.539Z
- Modified: 2026-11-30T19:17:57.537Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.

(As written by CVE List.)

## Affected

- Gammu Gammu: before 1.45.2

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm> (exploit, vendor-advisory)
- <https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf> (patch)
- <https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe> (patch)
- <https://github.com/gammu/gammu/releases/tag/1.45.2> (release-notes)
- <https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277> (technical-description)
- <https://github.com/gammu/gammu> (product)
- <https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlen> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138160](https://www.cve.org/CVERecord?id=CVE-2026-138160), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138160](https://nvd.nist.gov/vuln/detail/CVE-2026-138160), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138160 · Whole record: https://cve.day/CVE-2026-138160.json · Rebuilt by cve.day 2026-11-30T19:32:18.031Z
