{"api_version":"1","generated_at":"2026-07-23T08:13:44+00:00","cve":"CVE-2004-0156","urls":{"html":"https://cve.report/CVE-2004-0156","api":"https://cve.report/api/cve/CVE-2004-0156.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-0156","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-0156"},"summary":{"title":"CVE-2004-0156","description":"Format string vulnerabilities in the (1) die or (2) log_event functions for ssmtp before 2.50.6 allow remote mail relays to cause a denial of service and possibly execute arbitrary code.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-06-01 04:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://security.gentoo.org/glsa/glsa-200404-18.xml","name":"http://security.gentoo.org/glsa/glsa-200404-18.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Gentoo Linux Documentation\n--\n  Multiple Vulnerabilities in ssmtp","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/5360","name":"http://www.osvdb.org/5360","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/11378","name":"http://secunia.com/advisories/11378","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - sSMTP Format String Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securitytracker.com/id?1009788","name":"http://securitytracker.com/id?1009788","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityTracker.com Archives - sSMTP Format String Flaws Let Remote Servers Execute Arbitrary Code","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/11485","name":"http://secunia.com/advisories/11485","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Gentoo update for sSMTP","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/11571","name":"http://secunia.com/advisories/11571","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - OpenPKG update for ssmtp","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2004/dsa-485","name":"http://www.debian.org/security/2004/dsa-485","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Debian -- Security Information -- DSA-485-1 ssmtp","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15872","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15872","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=108403772130855&w=2","name":"http://marc.info/?l=bugtraq&m=108403772130855&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'[OpenPKG-SA-2004.020] OpenPKG Security Advisory (ssmtp)' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/11384","name":"http://secunia.com/advisories/11384","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Debian update for ssmtp","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/5361","name":"http://www.osvdb.org/5361","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://www.securityfocus.com/bid/10150","name":"http://www.securityfocus.com/bid/10150","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SSMTP Mail Transfer Agent Multiple Format String Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0156","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0156","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":"2004","cve_id":"156","vulnerable":"1","versionEndIncluding":"2.49","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ssmtp","cpe5":"ssmtp","cpe6":"*","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-08T00:10:03.604Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"11571","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/11571"},{"name":"DSA-485","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2004/dsa-485"},{"name":"20040507 [OpenPKG-SA-2004.020] OpenPKG Security Advisory (ssmtp)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=108403772130855&w=2"},{"name":"11384","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/11384"},{"name":"1009788","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://securitytracker.com/id?1009788"},{"name":"11378","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/11378"},{"name":"5360","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/5360"},{"name":"5361","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/5361"},{"name":"10150","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/10150"},{"name":"GLSA-200404-18","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200404-18.xml"},{"name":"ssmtp-die-logevent-format-string(15872)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15872"},{"name":"11485","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/11485"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-04-14T00:00:00.000Z","descriptions":[{"lang":"en","value":"Format string vulnerabilities in the (1) die or (2) log_event functions for ssmtp before 2.50.6 allow remote mail relays to cause a denial of service and possibly execute arbitrary code."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"11571","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/11571"},{"name":"DSA-485","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2004/dsa-485"},{"name":"20040507 [OpenPKG-SA-2004.020] OpenPKG Security Advisory (ssmtp)","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=108403772130855&w=2"},{"name":"11384","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/11384"},{"name":"1009788","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://securitytracker.com/id?1009788"},{"name":"11378","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/11378"},{"name":"5360","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/5360"},{"name":"5361","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/5361"},{"name":"10150","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/10150"},{"name":"GLSA-200404-18","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200404-18.xml"},{"name":"ssmtp-die-logevent-format-string(15872)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15872"},{"name":"11485","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/11485"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-0156","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":"Format string vulnerabilities in the (1) die or (2) log_event functions for ssmtp before 2.50.6 allow remote mail relays to cause a denial of service and possibly execute arbitrary code."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"11571","refsource":"SECUNIA","url":"http://secunia.com/advisories/11571"},{"name":"DSA-485","refsource":"DEBIAN","url":"http://www.debian.org/security/2004/dsa-485"},{"name":"20040507 [OpenPKG-SA-2004.020] OpenPKG Security Advisory (ssmtp)","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=108403772130855&w=2"},{"name":"11384","refsource":"SECUNIA","url":"http://secunia.com/advisories/11384"},{"name":"1009788","refsource":"SECTRACK","url":"http://securitytracker.com/id?1009788"},{"name":"11378","refsource":"SECUNIA","url":"http://secunia.com/advisories/11378"},{"name":"5360","refsource":"OSVDB","url":"http://www.osvdb.org/5360"},{"name":"5361","refsource":"OSVDB","url":"http://www.osvdb.org/5361"},{"name":"10150","refsource":"BID","url":"http://www.securityfocus.com/bid/10150"},{"name":"GLSA-200404-18","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200404-18.xml"},{"name":"ssmtp-die-logevent-format-string(15872)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15872"},{"name":"11485","refsource":"SECUNIA","url":"http://secunia.com/advisories/11485"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-0156","datePublished":"2004-04-17T04:00:00.000Z","dateReserved":"2004-02-13T00:00:00.000Z","dateUpdated":"2024-08-08T00:10:03.604Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-06-01 04:00:00","lastModifiedDate":"2025-04-03 01:03:51","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:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ssmtp:ssmtp:*:*:*:*:*:*:*:*","versionEndIncluding":"2.49","matchCriteriaId":"A09DC9AF-1972-4081-8183-65B176EAB8BB"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"156","Ordinal":"1","Title":"CVE-2004-0156","CVE":"CVE-2004-0156","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"156","Ordinal":"1","NoteData":"Format string vulnerabilities in the (1) die or (2) log_event functions for ssmtp before 2.50.6 allow remote mail relays to cause a denial of service and possibly execute arbitrary code.","Type":"Description","Title":"CVE-2004-0156"},{"CveYear":"2004","CveId":"156","Ordinal":"2","NoteData":"2004-04-17","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"156","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}