Description
Buffer overflow in the w_read function in sockets.c in Cami Sardinha and Nigel Kukard policyd before 1.81 for Postfix allows remote attackers to cause a denial of service and possibly execute arbitrary code via long SMTP commands. NOTE: some of these details are obtained from third party information.
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 4.0 | postfix-policyd | 1.80-2.1etch1 | DSA-1361-1 |
Advisories 1
- DSA-1361-1 postfix-policyd - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0
- 26021 third-party-advisory
- 24899 vdb-entry
- 26649 third-party-advisory
- http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0
- policyd-wread-bo(35394) vdb-entry
- DSA-1361 vendor-advisory
- 38091 vdb-entry
- http://sourceforge.net/project/shownotes.php?release_id=522366