# CVE-2026-138161

Buffer overflow in Gammu LoadBackup allows crash or potential code execution via crafted backup.

- Page: https://www.vulneraibility.com/cve/CVE-2026-138161
- CVSS: 8.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.23% (percentile 8.7)
- Weakness: CWE-120
- Also known as: GHSA-cp4c-2vv3-mrr7
- EUVD: EUVD-2026-137552 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137552)
- 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

Overlong MD5 in backup file causes buffer overflow when parsing restore/convertbackup, allowing crashes or potential remote code execution via memory corruption.

## Action

Patch when possible

## Recommendation

Upgrade to Gammu 1.45.2+, block/validate untrusted backup files.

## References

- [advisory] https://github.com/gammu/gammu/security/advisories/GHSA-cp4c-2vv3-mrr7
- [patch] https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb
- [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#L3282
- [other] https://github.com/gammu/gammu
- [advisory] https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137552

---
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.
