{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "6.5.0"
              },
              {
                "fixed": "6.5.11"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.6"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0fd0e9335ae3a6ff3538045d098dd6b94679d99e"
            },
            {
              "fixed": "73b077790fcb04ac3712033d3e939daf42264545"
            },
            {
              "introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
            },
            {
              "fixed": "acd131c3d1902c6422ae27fcd319d76fe7cafd3c"
            }
          ],
          "repo": "https://github.com/spring-projects/spring-security",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "vmware",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40988.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "5.7.0"
          },
          {
            "fixed": "5.7.24"
          },
          {
            "introduced": "5.8.0"
          },
          {
            "fixed": "5.8.26"
          },
          {
            "introduced": "6.3.0"
          },
          {
            "fixed": "6.3.17"
          },
          {
            "introduced": "6.4.0"
          },
          {
            "fixed": "6.4.17"
          },
          {
            "introduced": "6.5.0"
          },
          {
            "fixed": "6.5.10.2"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.5.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "5.7.0"
          },
          {
            "fixed": "5.7.23"
          },
          {
            "introduced": "5.8.0"
          },
          {
            "fixed": "5.8.25"
          },
          {
            "introduced": "6.3.0"
          },
          {
            "fixed": "6.3.16"
          },
          {
            "introduced": "6.4.0"
          },
          {
            "fixed": "6.4.16"
          },
          {
            "introduced": "6.5.0"
          },
          {
            "fixed": "6.5.10"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.5"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Logout may be vulnerable to a denial of service by way of an unbounded writer that inflates the compressed SAML payload into memory.\n\nAffected versions:\nSpring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.",
  "id": "CVE-2026-40988",
  "modified": "2026-07-08T05:36:33.329889063Z",
  "published": "2026-06-09T23:46:15.589Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://spring.io/security/cve-2026-40988"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40988.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40988"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unbounded DEFLATE Inflation in SAML 2.0 Service Provider"
}