CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2025-22234

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.3 · medium

Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation

The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.390% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.3 · published by vmware
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T12:57:26.994Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:26.994ZCVE Program
epssverified2026-11-19T16:04:40.125ZFIRST EPSS
patchesverified2026-11-19T12:52:10.865ZOSV
affectedverified2026-11-19T12:57:26.994ZCVE Program
lifecycleverified2026-11-19T12:57:26.994ZCVE Program

Affected versions and configuration

Spring Spring Security; default status: affected: 5.7.16 [affected; scheme: semver]; 5.8.18 [affected; scheme: semver]; 6.0.16 [affected; scheme: semver]; 6.1.14 [affected; scheme: semver]; 6.2.10 [affected; scheme: semver]; 6.3.8 [affected; scheme: semver]; 6.4.4 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Spring",
      "product": "Spring Security",
      "versions": [
        {
          "status": "affected",
          "version": "5.7.16",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "5.8.18",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "6.0.16",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "6.1.14",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "6.2.10",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "6.3.8",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "6.4.4",
          "versionType": "semver"
        }
      ],
      "collectionURL": "https://spring.io/projects/spring-security",
      "defaultStatus": "affected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-22234",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-01-22T21:27:06.559653Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-01-22T21:27:13.558Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-vqxh-445g-37fc",
  "aliases": [
    "CVE-2025-22234"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.3.8"
            },
            {
              "fixed": "6.3.9"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework.security:spring-security-core",
        "purl": "pkg:maven/org.springframework.security/spring-security-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.3.8"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-vqxh-445g-37fc/GHSA-vqxh-445g-37fc.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.4.4"
            },
            {
              "fixed": "6.4.5"
            }
          ]
        }
      ],
      "package": {
        "name": "org.springframework.security:spring-security-core",
        "purl": "pkg:maven/org.springframework.security/spring-security-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "6.4.4"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-vqxh-445g-37fc/GHSA-vqxh-445g-37fc.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22234",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/spring-projects/spring-security",
      "type": "PACKAGE"
    },
    {
      "url": "https://spring.io/security/cve-2025-22234",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-208"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-01-22T21:15:49Z",
    "github_reviewed_at": "2026-01-22T22:33:22Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.springframework.security:spring-security-coreNot a distribution channel6.3.9Official record
ecosystem-boundaryMaven / packageorg.springframework.security:spring-security-coreNot a distribution channel6.4.5Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history