{"api_version":"1","generated_at":"2026-07-23T12:51:32+00:00","cve":"CVE-2007-6039","urls":{"html":"https://cve.report/CVE-2007-6039","api":"https://cve.report/api/cve/CVE-2007-6039.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-6039","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-6039"},"summary":{"title":"CVE-2007-6039","description":"PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function.  NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-11-20 19:46:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.1","severity":"","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/bid/26426","name":"http://www.securityfocus.com/bid/26426","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP stream_wrapper_register() Function Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.securityfocus.com/archive/1/483648/100/0/threaded","name":"http://www.securityfocus.com/archive/1/483648/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/3365","name":"http://securityreason.com/securityalert/3365","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP <= 5.2.5 Gettext Lib multiple Denial of service - CXSecurity.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/483644/100/0/threaded","name":"http://www.securityfocus.com/archive/1/483644/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38443","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38443","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38442","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38442","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/26428","name":"http://www.securityfocus.com/bid/26428","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP Multiple GetText Functions Denial Of Service Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://securityreason.com/securityalert/3366","name":"http://securityreason.com/securityalert/3366","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP <= 5.2.5 stream_wrapper_register() Denial of service - CXSecurity.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-6039","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6039","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":"6039","vulnerable":"1","versionEndIncluding":"5.2.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2007-6039","organization":"Red Hat","lastmodified":"2007-12-06","contributor":"Mark J Cox","statementText":"Red Hat doesn’t consider this a security issue. The arguments to the functions in question should always be under the control of the script author, rather than untrusted script input, so these issues would not be treated as security-sensitive.","cve_year":"2007","cve_id":"6039","crc32":"d511ce23"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T15:54:26.325Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"26428","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26428"},{"name":"20071113 PHP <= 5.2.5 Gettext Lib Multiple Denial of service","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/483648/100/0/threaded"},{"name":"3365","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/3365"},{"name":"php-streamwrapperregister-dos(38442)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38442"},{"name":"php-multiple-gettext-dos(38443)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38443"},{"name":"26426","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26426"},{"name":"20071113 PHP <= 5.2.5 stream_wrapper_register() denial of service","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/483644/100/0/threaded"},{"name":"3366","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/3366"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-11-13T00:00:00.000Z","descriptions":[{"lang":"en","value":"PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function.  NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"26428","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26428"},{"name":"20071113 PHP <= 5.2.5 Gettext Lib Multiple Denial of service","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/483648/100/0/threaded"},{"name":"3365","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/3365"},{"name":"php-streamwrapperregister-dos(38442)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38442"},{"name":"php-multiple-gettext-dos(38443)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38443"},{"name":"26426","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26426"},{"name":"20071113 PHP <= 5.2.5 stream_wrapper_register() denial of service","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/483644/100/0/threaded"},{"name":"3366","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/3366"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-6039","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":"PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function.  NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"26428","refsource":"BID","url":"http://www.securityfocus.com/bid/26428"},{"name":"20071113 PHP <= 5.2.5 Gettext Lib Multiple Denial of service","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/483648/100/0/threaded"},{"name":"3365","refsource":"SREASON","url":"http://securityreason.com/securityalert/3365"},{"name":"php-streamwrapperregister-dos(38442)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38442"},{"name":"php-multiple-gettext-dos(38443)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38443"},{"name":"26426","refsource":"BID","url":"http://www.securityfocus.com/bid/26426"},{"name":"20071113 PHP <= 5.2.5 stream_wrapper_register() denial of service","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/483644/100/0/threaded"},{"name":"3366","refsource":"SREASON","url":"http://securityreason.com/securityalert/3366"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-6039","datePublished":"2007-11-20T19:00:00.000Z","dateReserved":"2007-11-20T00:00:00.000Z","dateUpdated":"2024-08-07T15:54:26.325Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-11-20 19:46:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.9,"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:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.2.4","matchCriteriaId":"A5B6B1C7-B7B8-495E-9FE5-FF39718DC64E"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"6039","Ordinal":"1","Title":"CVE-2007-6039","CVE":"CVE-2007-6039","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"6039","Ordinal":"1","NoteData":"PHP 5.2.5 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long string in (1) the domain parameter to the dgettext function, the message parameter to the (2) dcgettext or (3) gettext function, the msgid1 parameter to the (4) dngettext or (5) ngettext function, or (6) the classname parameter to the stream_wrapper_register function.  NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.","Type":"Description","Title":"CVE-2007-6039"},{"CveYear":"2007","CveId":"6039","Ordinal":"2","NoteData":"2007-11-20","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"6039","Ordinal":"3","NoteData":"2018-10-15","Type":"Other","Title":"Modified"}]}}}