{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.5.0"
              },
              {
                "fixed": "4.5.12"
              },
              {
                "introduced": "4.6.0"
              },
              {
                "fixed": "4.6.5"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.1.9"
              },
              {
                "introduced": "5.2.0"
              },
              {
                "fixed": "5.2.14"
              },
              {
                "introduced": "5.3.0"
              },
              {
                "fixed": "5.3.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "95e39ec60f78895d217c35c6f840f24f1f9ca3b5"
            },
            {
              "introduced": "b8585672346c0654311c77500ce613cdf37687cc"
            },
            {
              "introduced": "2da6ed819f520e472ea12b011a9c7a7f39310a4a"
            },
            {
              "introduced": "8eb600bb67a545e2d108f9ae64146f094a39bb55"
            },
            {
              "introduced": "c0175d821a5e42b934ad2a11927c5c5d0e659a0d"
            },
            {
              "fixed": "cc9dbe1fbcb1cb6fd20eb2ebf457c9774dfa5f49"
            },
            {
              "fixed": "2818927cc949af84fd847d72d65edeaac581cb8b"
            },
            {
              "fixed": "a029afaa6879d6c9dc41c20e09f727fd767b9893"
            },
            {
              "fixed": "111336d93f8fb044b2b68d4526cf10876432fd2d"
            },
            {
              "fixed": "c0d21e0da4216d51268691af3ad803f0eecb3a11"
            },
            {
              "fixed": "08188962bcd99a95da1e49f62e786f2d688f1e41"
            },
            {
              "fixed": "2afe42b02d8ddc5d442bca5e8bb61910a727646e"
            },
            {
              "fixed": "3e09dae6cbdc983754fa3a8e6aae74da102a3ea1"
            },
            {
              "fixed": "b67b622457362b075bb37e625a82af73a0b3c9c3"
            }
          ],
          "repo": "https://github.com/cakephp/cakephp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2qh5-382h-3jpc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77634.json"
  },
  "details": "CakePHP is a rapid development framework for PHP. Prior to versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7 on their respective release lines, custom mail headers added with Message::setHeaders() or Message::addHeaders() do not have CRLF bytes removed, allowing header injection when user-controlled data is used in message headers. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7.",
  "id": "CVE-2026-77634",
  "modified": "2026-08-27T11:30:50.541335768Z",
  "published": "2026-08-24T20:33:46.836Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77634.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-2qh5-382h-3jpc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77634"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/08188962bcd99a95da1e49f62e786f2d688f1e41"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/2afe42b02d8ddc5d442bca5e8bb61910a727646e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/3e09dae6cbdc983754fa3a8e6aae74da102a3ea1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cakephp/cakephp/commit/b67b622457362b075bb37e625a82af73a0b3c9c3"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CakePHP: SmtpTransport vulnerable to CRLF header injection"
}