Gammuに細工されたバックアップファイルで任意のコードを実行される脆弱性
Summary
Gammuの1.45.2より前のバージョンには、バックアップファイルのMD5値を処理する際のバッファオーバーフローの脆弱性があります。細工されたバックアップファイルをconvertbackupやrestoreで読み込むと、メモリが壊れてクラッシュするほか、コードを実行される可能性があります。修正版の1.45.2で修正されているため、更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Gammuの1.45.2より前のバージョンには、バックアップファイルのMD5値を処理する際のバッファオーバーフローの脆弱性があります。細工されたバックアップファイルをconvertbackupやrestoreで読み込むと、メモリが壊れてクラッシュするほか、コードを実行される可能性があります。修正版の1.45.2で修正されているため、更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GammuGammu |
< 1.45.2→ 1.45.2 |
1.45.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-138161 gammu No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-138161 gammu No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com