Loading advisory.
Loading advisory.
Use of a Key Past its Expiration Date and Insufficient Session Expiration in Maddy Mail Server
Any configuration on any maddy version <0.5.4 using auth.pam is affected.
Published 2022-03-07 16:59 UTC · Modified 2025-04-23 18:56 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/foxcpp/maddy | Go | < 0.5.4 | 0.5.4 | go get github.com/foxcpp/maddy@v0.5.4 |
Any configuration on any maddy version <0.5.4 using auth.pam is affected.
No password expiry or account expiry checking is done when authenticating using PAM.
Patch is available as part of the 0.5.4 release.
If /etc/shadow authentication is used, it is possible to replace auth.pam with auth.shadow which is not affected.
It is possible to blacklist expired accounts via existing filtering mechanisms (e.g. auth_map to invalid accounts in storage.imapsql).
https://github.com/foxcpp/maddy/blob/3412e59a2c92106e194fa69f2f1017c020037c9c/internal/auth/pam/pam.c
https://linux.die.net/man/3/pam_acct_mgmt
If you have any questions or comments about this advisory:
Open an issue in https://github.com/foxcpp/maddy
Email fox.cpp@disroot.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.004 | v2026.06.15 |