Description
smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.
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 | opensmtpd | 6.8.0p2-1 | — |
| Debian 13 | opensmtpd | 6.8.0p2-1 | — |
| Debian 12 | opensmtpd | 6.8.0p2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | opensmtpd | No fix yet | — |
| Ubuntu 26.04 LTS | opensmtpd | No fix yet | — |
| Ubuntu 25.10 | opensmtpd | No fix yet | — |
| Ubuntu 24.04 LTS | opensmtpd | No fix yet | — |
| Ubuntu 20.04 LTS | opensmtpd | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.13 | opensmtpd | 6.7.1p1-r1 | — |
| Alpine v3.12 | opensmtpd | 6.6.4p1-r2 | — |
| Alpine v3.11 | opensmtpd | 6.6.4p1-r1 | — |
References
- https://poolp.org/posts/2020-12-24/december-2020-opensmtpd-6.8.0p1-released-fixed-several-bugs-proposed-several-diffs-book-is-on-github/
- https://www.mail-archive.com/misc%40opensmtpd.org/msg05188.html
- https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043
- FEDORA-2021-71fbdecdf8 vendor-advisory
- FEDORA-2021-848fd34b0b vendor-advisory
- GLSA-202105-12 vendor-advisory