{"api_version":"1","generated_at":"2026-07-23T08:56:01+00:00","cve":"CVE-2007-3998","urls":{"html":"https://cve.report/CVE-2007-3998","api":"https://cve.report/api/cve/CVE-2007-3998.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-3998","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-3998"},"summary":{"title":"CVE-2007-3998","description":"The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, \"\"' argument set.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-09-04 18:17: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":"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://rhn.redhat.com/errata/RHSA-2007-0889.html","name":"http://rhn.redhat.com/errata/RHSA-2007-0889.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://secunia.com/advisories/27864","name":"http://secunia.com/advisories/27864","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Ubuntu update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2008/dsa-1578","name":"http://www.debian.org/security/2008/dsa-1578","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-1578-1 php4","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.trustix.org/errata/2007/0026/","name":"http://www.trustix.org/errata/2007/0026/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"text/plain","httpstatus":"-1","archivestatus":"200"},{"url":"http://secunia.com/advisories/26930","name":"http://secunia.com/advisories/26930","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Fedora update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/30288","name":"http://secunia.com/advisories/30288","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian update for php4 - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26871","name":"http://secunia.com/advisories/26871","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","name":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[security-announce] SUSE Security Announcement: php4, php5 (SUSE-SA:2008","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/3023","name":"http://www.vupen.com/english/advisories/2007/3023","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Permissions Required","Third Party Advisory"],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603","name":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Repository  /  Oval Repository","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/usn-549-2","name":"http://www.ubuntu.com/usn/usn-549-2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-549-2: PHP regression | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28249","name":"http://secunia.com/advisories/28249","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian update for php5 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html","name":"http://www.redhat.com/support/errata/RHSA-2007-0891.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/","name":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"PHP wordwrap vulnerability","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/27377","name":"http://secunia.com/advisories/27377","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"rPath update for php, php-mysql and php-pgsql - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26895","name":"http://secunia.com/advisories/26895","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Mandriva update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28658","name":"http://secunia.com/advisories/28658","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"SUSE update for php4 and php5 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html","name":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora Core 6 Update: php-5.1.6-3.7.fc6","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo Linux Documentation\n--\n  PHP: Multiple vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/549-1/","name":"https://usn.ubuntu.com/549-1/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-549-1: PHP vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26642","name":"http://secunia.com/advisories/26642","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"PHP Multiple Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26822","name":"http://secunia.com/advisories/26822","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Trustix Update for Multiple Packages - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26967","name":"http://secunia.com/advisories/26967","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://issues.rpath.com/browse/RPL-1693","name":"https://issues.rpath.com/browse/RPL-1693","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","name":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm","name":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"ASA-2007-449 (RHSA-2007-0888, RHSA-2007-0889 & RHSA-2007-0890)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26838","name":"http://secunia.com/advisories/26838","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"rPath Update for Multiple php Packages - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27102","name":"http://secunia.com/advisories/27102","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://launchpad.net/bugs/173043","name":"https://launchpad.net/bugs/173043","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Bug #173043 “php5 5.2.3-1ubuntu6.1 introduced segfault regressio...” : Bugs : “php5” package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php.net/releases/5_2_4.php","name":"http://www.php.net/releases/5_2_4.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: PHP 5.2.4 Release Announcement","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://issues.rpath.com/browse/RPL-1702","name":"https://issues.rpath.com/browse/RPL-1702","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html","name":"http://www.redhat.com/support/errata/RHSA-2007-0890.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27545","name":"http://secunia.com/advisories/27545","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Avaya Products PHP Multiple Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2008/dsa-1444","name":"http://www.debian.org/security/2008/dsa-1444","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-1444-2 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","name":"http://www.php.net/ChangeLog-5.php#5.2.4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3998","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3998","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":"3998","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2007-3998","organization":"Red Hat","lastmodified":"2007-09-05","contributor":"Mark J Cox","statementText":"This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1.","cve_year":"2007","cve_id":"3998","crc32":"00b4efbf"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T14:37:05.815Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"30288","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/30288"},{"name":"26822","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26822"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://launchpad.net/bugs/173043"},{"name":"oval:org.mitre.oval:def:10603","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603"},{"name":"SUSE-SA:2008:004","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html"},{"name":"28658","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28658"},{"name":"FEDORA-2007-709","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html"},{"name":"26967","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26967"},{"name":"DSA-1444","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2008/dsa-1444"},{"name":"GLSA-200710-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"},{"name":"27864","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27864"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/ChangeLog-5.php#5.2.4"},{"name":"26930","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26930"},{"name":"2007-0026","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"],"url":"http://www.trustix.org/errata/2007/0026/"},{"name":"RHSA-2007:0889","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2007-0889.html"},{"name":"USN-549-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/549-1/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://issues.rpath.com/browse/RPL-1693"},{"name":"28249","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28249"},{"name":"DSA-1578","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2008/dsa-1578"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://issues.rpath.com/browse/RPL-1702"},{"name":"27545","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27545"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm"},{"name":"26838","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26838"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/"},{"name":"27377","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27377"},{"name":"MDKSA-2007:187","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"27102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27102"},{"name":"ADV-2007-3023","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/3023"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/releases/5_2_4.php"},{"name":"26895","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26895"},{"name":"USN-549-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/usn-549-2"},{"name":"RHSA-2007:0890","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html"},{"name":"RHSA-2007:0891","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html"},{"name":"26871","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26871"},{"name":"26642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26642"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-08-30T00:00:00.000Z","descriptions":[{"lang":"en","value":"The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, \"\"' argument set."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-03T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"30288","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/30288"},{"name":"26822","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26822"},{"tags":["x_refsource_CONFIRM"],"url":"https://launchpad.net/bugs/173043"},{"name":"oval:org.mitre.oval:def:10603","tags":["vdb-entry","signature","x_refsource_OVAL"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603"},{"name":"SUSE-SA:2008:004","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html"},{"name":"28658","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28658"},{"name":"FEDORA-2007-709","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html"},{"name":"26967","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26967"},{"name":"DSA-1444","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2008/dsa-1444"},{"name":"GLSA-200710-02","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"},{"name":"27864","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27864"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/ChangeLog-5.php#5.2.4"},{"name":"26930","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26930"},{"name":"2007-0026","tags":["vendor-advisory","x_refsource_TRUSTIX"],"url":"http://www.trustix.org/errata/2007/0026/"},{"name":"RHSA-2007:0889","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2007-0889.html"},{"name":"USN-549-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/549-1/"},{"tags":["x_refsource_CONFIRM"],"url":"https://issues.rpath.com/browse/RPL-1693"},{"name":"28249","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28249"},{"name":"DSA-1578","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2008/dsa-1578"},{"tags":["x_refsource_CONFIRM"],"url":"https://issues.rpath.com/browse/RPL-1702"},{"name":"27545","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27545"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm"},{"name":"26838","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26838"},{"tags":["x_refsource_MISC"],"url":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/"},{"name":"27377","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27377"},{"name":"MDKSA-2007:187","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"27102","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27102"},{"name":"ADV-2007-3023","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/3023"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/releases/5_2_4.php"},{"name":"26895","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26895"},{"name":"USN-549-2","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/usn-549-2"},{"name":"RHSA-2007:0890","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html"},{"name":"RHSA-2007:0891","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html"},{"name":"26871","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26871"},{"name":"26642","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26642"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-3998","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":"The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, \"\"' argument set."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"30288","refsource":"SECUNIA","url":"http://secunia.com/advisories/30288"},{"name":"26822","refsource":"SECUNIA","url":"http://secunia.com/advisories/26822"},{"name":"https://launchpad.net/bugs/173043","refsource":"CONFIRM","url":"https://launchpad.net/bugs/173043"},{"name":"oval:org.mitre.oval:def:10603","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603"},{"name":"SUSE-SA:2008:004","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html"},{"name":"28658","refsource":"SECUNIA","url":"http://secunia.com/advisories/28658"},{"name":"FEDORA-2007-709","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html"},{"name":"26967","refsource":"SECUNIA","url":"http://secunia.com/advisories/26967"},{"name":"DSA-1444","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1444"},{"name":"GLSA-200710-02","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"},{"name":"27864","refsource":"SECUNIA","url":"http://secunia.com/advisories/27864"},{"name":"http://www.php.net/ChangeLog-5.php#5.2.4","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-5.php#5.2.4"},{"name":"26930","refsource":"SECUNIA","url":"http://secunia.com/advisories/26930"},{"name":"2007-0026","refsource":"TRUSTIX","url":"http://www.trustix.org/errata/2007/0026/"},{"name":"RHSA-2007:0889","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2007-0889.html"},{"name":"USN-549-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/549-1/"},{"name":"https://issues.rpath.com/browse/RPL-1693","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-1693"},{"name":"28249","refsource":"SECUNIA","url":"http://secunia.com/advisories/28249"},{"name":"DSA-1578","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1578"},{"name":"https://issues.rpath.com/browse/RPL-1702","refsource":"CONFIRM","url":"https://issues.rpath.com/browse/RPL-1702"},{"name":"27545","refsource":"SECUNIA","url":"http://secunia.com/advisories/27545"},{"name":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm","refsource":"CONFIRM","url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm"},{"name":"26838","refsource":"SECUNIA","url":"http://secunia.com/advisories/26838"},{"name":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/","refsource":"MISC","url":"http://secweb.se/en/advisories/php-wordwrap-vulnerability/"},{"name":"27377","refsource":"SECUNIA","url":"http://secunia.com/advisories/27377"},{"name":"MDKSA-2007:187","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"},{"name":"27102","refsource":"SECUNIA","url":"http://secunia.com/advisories/27102"},{"name":"ADV-2007-3023","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/3023"},{"name":"http://www.php.net/releases/5_2_4.php","refsource":"CONFIRM","url":"http://www.php.net/releases/5_2_4.php"},{"name":"26895","refsource":"SECUNIA","url":"http://secunia.com/advisories/26895"},{"name":"USN-549-2","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-549-2"},{"name":"RHSA-2007:0890","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html"},{"name":"RHSA-2007:0891","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html"},{"name":"26871","refsource":"SECUNIA","url":"http://secunia.com/advisories/26871"},{"name":"26642","refsource":"SECUNIA","url":"http://secunia.com/advisories/26642"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-3998","datePublished":"2007-09-04T18:00:00.000Z","dateReserved":"2007-07-25T00:00:00.000Z","dateUpdated":"2024-08-07T14:37:05.815Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-09-04 18:17: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: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:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.4.8","matchCriteriaId":"F6C219FD-2507-491C-B38F-777D1A626FEC"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.2.4","matchCriteriaId":"EABE00F5-DB5A-480D-8D77-73C04DBAB2A0"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*","matchCriteriaId":"A2E0C1F8-31F5-4F61-9DF7-E49B43D3C873"},{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*","matchCriteriaId":"0F92AB32-E7DE-43F4-B877-1F41FA162EC7"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*","matchCriteriaId":"5C18C3CD-969B-4AA3-AE3A-BA4A188F8BFF"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*","matchCriteriaId":"23E304C9-F780-4358-A58D-1E4C93977704"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*","matchCriteriaId":"6EBDAFF8-DE44-4E80-B6BD-E341F767F501"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*","matchCriteriaId":"823BF8BE-2309-4F67-A5E2-EAD98F723468"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"3998","Ordinal":"1","Title":"CVE-2007-3998","CVE":"CVE-2007-3998","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"3998","Ordinal":"1","NoteData":"The wordwrap function in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, does not properly use the breakcharlen variable, which allows remote attackers to cause a denial of service (divide-by-zero error and application crash, or infinite loop) via certain arguments, as demonstrated by a 'chr(0), 0, \"\"' argument set.","Type":"Description","Title":"CVE-2007-3998"},{"CveYear":"2007","CveId":"3998","Ordinal":"2","NoteData":"2007-09-04","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"3998","Ordinal":"3","NoteData":"2018-10-03","Type":"Other","Title":"Modified"}]}}}