Description
Directory traversal vulnerability in index/mbox/mbox-storage.c in Dovecot before 1.0.rc29, when using the zlib plugin, allows remote attackers to read arbitrary gzipped (.gz) mailboxes (mbox files) via a .. (dot dot) sequence in the mailbox name.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dovecot | 1.0.rc29-1 | — |
| Debian 13 | dovecot | 1.0.rc29-1 | — |
| Debian 12 | dovecot | 1.0.rc29-1 | — |
| Debian 4.0 | dovecot | 1.0.rc15-2etch1 | DSA-1359-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | dovecot | 1.0.7-2.el5 | RHSA-2008:0297 |
Advisories 2
- RHSA-2008:0297 Red Hat Security Advisory: dovecot security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1359-1 dovecot - directory traversal Debian Security (DSA / DLA) · Mar 9, 2026
References
- USN-487-1 vendor-advisory
- 30342 third-party-advisory
- RHSA-2008:0297 vendor-advisory
- 23552 vdb-entry
- DSA-1359 vendor-advisory
- http://dovecot.org/doc/NEWS
- [dovecot-cvs] 20070330 dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.145.2.14, 1.145.2.15 mailing-list
- oval:org.mitre.oval:def:10995 vdb-entry signature
- dovecot-mboxstorage-directory-traversal(34082) vdb-entry
- SUSE-SR:2007:008 vendor-advisory
- ADV-2007-1452 vdb-entry
- [dovecot-news] 20070330 Security hole #3: zlib plugin allows opening any gziped mboxes mailing-list
- 25072 third-party-advisory
- 20070418 rPSA-2007-0074-1 dovecot mailing-list