{
  "schema_version": "1.4.0",
  "id": "GHSA-7r5x-79rr-q8gm",
  "modified": "2025-04-09T03:45:49Z",
  "published": "2022-05-01T18:19:22Z",
  "aliases": [
    "CVE-2007-3998"
  ],
  "details": "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.",
  "severity": [],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3998"
    },
    {
      "type": "WEB",
      "url": "https://issues.rpath.com/browse/RPL-1693"
    },
    {
      "type": "WEB",
      "url": "https://issues.rpath.com/browse/RPL-1702"
    },
    {
      "type": "WEB",
      "url": "https://launchpad.net/bugs/173043"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603"
    },
    {
      "type": "WEB",
      "url": "https://usn.ubuntu.com/549-1"
    },
    {
      "type": "WEB",
      "url": "https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html"
    },
    {
      "type": "WEB",
      "url": "http://rhn.redhat.com/errata/RHSA-2007-0889.html"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26642"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26822"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26838"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26871"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26895"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26930"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26967"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27102"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27377"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27545"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27864"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/28249"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/28658"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/30288"
    },
    {
      "type": "WEB",
      "url": "http://secweb.se/en/advisories/php-wordwrap-vulnerability"
    },
    {
      "type": "WEB",
      "url": "http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2008/dsa-1444"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2008/dsa-1578"
    },
    {
      "type": "WEB",
      "url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"
    },
    {
      "type": "WEB",
      "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"
    },
    {
      "type": "WEB",
      "url": "http://www.php.net/ChangeLog-5.php#5.2.4"
    },
    {
      "type": "WEB",
      "url": "http://www.php.net/releases/5_2_4.php"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2007-0890.html"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2007-0891.html"
    },
    {
      "type": "WEB",
      "url": "http://www.trustix.org/errata/2007/0026"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/usn-549-2"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/3023"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "MODERATE",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-09-04T18:17:00Z"
  }
}