# CVE-2026-138161: Gammu before 1.45.2 Buffer Overflow via LoadBackup() MD5 Checksum

- 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)
- Published: 2026-11-28T02:21:53.445Z
- Modified: 2026-11-30T18:18:49.987Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(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-cp4c-2vv3-mrr7> (vendor-advisory)
- <https://github.com/gammu/gammu/commit/91f62b818edaa221276d898e19ad4d092c36cdcb> (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#L3282> (technical-description)
- <https://github.com/gammu/gammu> (product)
- <https://www.vulncheck.com/advisories/gammu-before-1.45.2-buffer-overflow-via-loadbackup-md5-checksum> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-138161 · Whole record: https://cve.day/CVE-2026-138161.json · Rebuilt by cve.day 2026-11-30T18:32:26.379Z
