{"id":"CVE-2007-3791","aliases":["DEBIAN-CVE-2007-3791","DSA-1361-1","EUVD-2007-3775","GHSA-h4xc-2rv5-8gwh"],"status":"published","title":"Buffer overflow in the w_read function in sockets.c in Cami Sardinha and Nigel Kukard policyd...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04211,"percentile":0.91042,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2007-07-15T23:00:00Z","modified":"2026-06-16T22:42:44Z","fixes":[{"ecosystem":"Debian:4.0","package":"postfix-policyd","fixed_in":["1.80-2.1etch1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"postfix-policyd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.80-2.1etch1"}]}],"versions":["1.80-2.1"]}],"products":[{"vendor":"policyd","product":"policyd"}],"references":[{"url":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd\u0026path=%2Fbranches%2Fv1.8x%2Fsockets.c\u0026rev=0\u0026sc=0\u0026isdir=0","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/26021","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/24899","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/26649","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd\u0026path=%2Ftrunk%2Fsockets.c\u0026rev=4\u0026sc=0","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1361","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://osvdb.org/38091","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://sourceforge.net/project/shownotes.php?release_id=522366","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3791"},{"url":"https://github.com/advisories/GHSA-h4xc-2rv5-8gwh"}],"sources":{"cve":[{"id":"CVE-2007-3791","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.","status":"published","published":"2007-07-15T23:00:00Z","modified":"2024-08-07T14:28:52.425Z","updated_at":"2026-11-02T13:32:45.563938Z"}],"euvd":[{"id":"EUVD-2007-3775","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.","status":"published","published":"2007-07-15T23:00:00Z","modified":"2024-08-07T14:28:52Z","updated_at":"2026-11-03T01:16:24.545796Z"}],"ghsa":[{"id":"GHSA-h4xc-2rv5-8gwh","title":"Buffer overflow in the w_read function in sockets.c in Cami Sardinha and Nigel Kukard policyd...","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.","status":"published","published":"2022-05-01T18:17:17Z","modified":"2023-01-31T05:04:10Z","updated_at":"2026-11-02T14:48:37.279982Z"}],"nvd":[{"id":"CVE-2007-3791","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.","status":"published","published":"2007-07-15T23:30:00Z","modified":"2026-06-16T22:42:44.38Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:17.964611Z"}],"osv":[{"id":"DSA-1361-1","title":"postfix-policyd - arbitrary code execution","status":"published","published":"2007-08-29T00:00:00Z","modified":"2026-03-09T01:01:02.662759Z","updated_at":"2026-11-02T15:46:14.285228Z"}]}}
