{"api_version":"1","generated_at":"2026-07-23T04:30:51+00:00","cve":"CVE-2007-3791","urls":{"html":"https://cve.report/CVE-2007-3791","api":"https://cve.report/api/cve/CVE-2007-3791.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-3791","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-3791"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-07-15 23:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.debian.org/security/2007/dsa-1361","name":"http://www.debian.org/security/2007/dsa-1361","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1361-1 postfix-policyd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/project/shownotes.php?release_id=522366","name":"http://sourceforge.net/project/shownotes.php?release_id=522366","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SourceForge.net: Files","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/26021","name":"http://secunia.com/advisories/26021","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"policyd \"read_w()\" Buffer Overflow Vulnerability - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/38091","name":"http://osvdb.org/38091","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0","name":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://secunia.com/advisories/26649","name":"http://secunia.com/advisories/26649","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for postfix-policyd - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0","name":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/24899","name":"http://www.securityfocus.com/bid/24899","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"policyd W_Read Function Remote Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3791","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3791","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.70","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.71","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.72","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.73","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.74","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.75","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.76","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.77","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.78","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.79","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"3791","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"policyd","cpe5":"policyd","cpe6":"1.80","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T14:28:52.425Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0"},{"name":"26021","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26021"},{"name":"24899","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/24899"},{"name":"26649","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26649"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0"},{"name":"policyd-wread-bo(35394)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394"},{"name":"DSA-1361","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2007/dsa-1361"},{"name":"38091","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/38091"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/project/shownotes.php?release_id=522366"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-07-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0"},{"name":"26021","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26021"},{"name":"24899","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/24899"},{"name":"26649","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26649"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0"},{"name":"policyd-wread-bo(35394)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394"},{"name":"DSA-1361","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2007/dsa-1361"},{"name":"38091","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/38091"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/project/shownotes.php?release_id=522366"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-3791","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0","refsource":"CONFIRM","url":"http://svn.linuxrulz.org/WebSVN/log.php?repname=Policyd&path=%2Fbranches%2Fv1.8x%2Fsockets.c&rev=0&sc=0&isdir=0"},{"name":"26021","refsource":"SECUNIA","url":"http://secunia.com/advisories/26021"},{"name":"24899","refsource":"BID","url":"http://www.securityfocus.com/bid/24899"},{"name":"26649","refsource":"SECUNIA","url":"http://secunia.com/advisories/26649"},{"name":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0","refsource":"CONFIRM","url":"http://svn.linuxrulz.org/WebSVN/diff.php?repname=Policyd&path=%2Ftrunk%2Fsockets.c&rev=4&sc=0"},{"name":"policyd-wread-bo(35394)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35394"},{"name":"DSA-1361","refsource":"DEBIAN","url":"http://www.debian.org/security/2007/dsa-1361"},{"name":"38091","refsource":"OSVDB","url":"http://osvdb.org/38091"},{"name":"http://sourceforge.net/project/shownotes.php?release_id=522366","refsource":"CONFIRM","url":"http://sourceforge.net/project/shownotes.php?release_id=522366"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-3791","datePublished":"2007-07-15T23:00:00.000Z","dateReserved":"2007-07-15T00:00:00.000Z","dateUpdated":"2024-08-07T14:28:52.425Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-07-15 23:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.70:*:*:*:*:*:*:*","matchCriteriaId":"4A5877A7-5C2F-425D-9BEF-8541F65FB3C0"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.71:*:*:*:*:*:*:*","matchCriteriaId":"76BCC829-48A4-4143-B393-76084B283FE6"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.72:*:*:*:*:*:*:*","matchCriteriaId":"D190060A-8F20-4AD8-B6C7-87E54ADDF064"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.73:*:*:*:*:*:*:*","matchCriteriaId":"43AD5185-0885-43B1-B0DC-C72FF6B187BD"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.74:*:*:*:*:*:*:*","matchCriteriaId":"BF282E97-2E4A-4CA0-92CD-ADE209FAC50A"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.75:*:*:*:*:*:*:*","matchCriteriaId":"80E038C8-930A-4D3D-925B-749292130DC4"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.76:*:*:*:*:*:*:*","matchCriteriaId":"0AAB4496-A3CC-4BF0-A411-D9D3E379526C"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.77:*:*:*:*:*:*:*","matchCriteriaId":"D116E3AE-DA8B-4FA7-84A0-400E84979CF0"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.78:*:*:*:*:*:*:*","matchCriteriaId":"B2C21541-ADF5-43D6-ACF5-9F54C790AD47"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.79:*:*:*:*:*:*:*","matchCriteriaId":"FC2B4A5F-DAF2-4FF1-9258-4C0283DA05C9"},{"vulnerable":true,"criteria":"cpe:2.3:a:policyd:policyd:1.80:*:*:*:*:*:*:*","matchCriteriaId":"84E8A875-17DF-4AC0-A686-1FFC9FABCC3B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"3791","Ordinal":"1","Title":"CVE-2007-3791","CVE":"CVE-2007-3791","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"3791","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-3791"},{"CveYear":"2007","CveId":"3791","Ordinal":"2","NoteData":"2007-07-15","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"3791","Ordinal":"3","NoteData":"2017-07-28","Type":"Other","Title":"Modified"}]}}}