# CVE-2026-138160

Stack buffer overflow in Gammu <=1.45.1 via crafted backup files

- Page: https://www.vulneraibility.com/cve/CVE-2026-138160
- CVSS: 8.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.23% (percentile 8.7)
- Weakness: CWE-121
- Also known as: GHSA-74cq-mvwr-5wgm
- EUVD: EUVD-2026-137553 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137553)
- Published: 2026-11-28

## Affected versions

- Gammu: affected < 1.45.2

A version outside these ranges is not a statement that it is unaffected.

## Impact

Stack-based buffer overflow in ReadBackupTextLen allows crashes or potential remote code execution when parsing crafted backup/convertbackup/restore files.

## Action

Patch when possible

## Recommendation

Upgrade to Gammu 1.45.2; avoid processing untrusted backup files.

## References

- [advisory] https://github.com/gammu/gammu/security/advisories/GHSA-74cq-mvwr-5wgm
- [patch] https://github.com/gammu/gammu/commit/8063e55b23b575ee0dc645ce6e94d8bdade0c0cf
- [patch] https://github.com/gammu/gammu/commit/f224198cc316b590ac0c853aa98cfbcf491a16fe
- [other] https://github.com/gammu/gammu/releases/tag/1.45.2
- [other] https://github.com/gammu/gammu/blob/1.45.1/libgammu/service/backup/backtext.c#L234-L277
- [other] https://github.com/gammu/gammu
- [advisory] https://www.vulncheck.com/advisories/gammu-before-1.45.2-stack-based-buffer-overflow-via-readbackuptextlen
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137553

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
