GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-22234 (GCVE-0-2025-22234)

Vulnerability from cvelistv5 – Published: 2026-01-22 21:02 – Updated: 2026-01-22 21:27
VLAI
Title
Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
Summary
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.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-01-22 21:27 UTC
CWE
References
Impacted products
Vendor Product Version CPE status
Spring Spring Security Affected: 5.7.16 (semver)
Affected: 5.8.18 (semver)
Affected: 6.0.16 (semver)
Affected: 6.1.14 (semver)
Affected: 6.2.10 (semver)
Affected: 6.3.8 (semver)
Affected: 6.4.4 (semver)
guessed Create a notification for this product.
Date Public
2025-04-25 15:43
Credits
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-22234",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-22T21:27:06.559653Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-22T21:27:13.558Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://spring.io/projects/spring-security",
          "defaultStatus": "affected",
          "product": "Spring Security",
          "vendor": "Spring",
          "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"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Jonas Robl"
        }
      ],
      "datePublic": "2025-04-25T15:43:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe 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.\u003c/p\u003e"
            }
          ],
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-208",
              "description": "CWE-208 Timing Descrepency",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-22T21:02:23.992Z",
        "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "shortName": "vmware"
      },
      "references": [
        {
          "name": "Spring Security Advisory: CVE-2025-22234",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://spring.io/security/cve-2025-22234/"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eUpgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line).\u003c/p\u003e"
            }
          ],
          "value": "Upgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line)."
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation",
      "x_generator": {
        "engine": "Vulnogram 0.5.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
    "assignerShortName": "vmware",
    "cveId": "CVE-2025-22234",
    "datePublished": "2026-01-22T21:02:23.992Z",
    "dateReserved": "2025-01-02T04:29:59.191Z",
    "dateUpdated": "2026-01-22T21:27:13.558Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-22234",
      "date": "2026-09-16",
      "epss": "0.00418",
      "percentile": "0.35499"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-22234\",\"sourceIdentifier\":\"security@vmware.com\",\"published\":\"2026-01-22T21:15:49.420\",\"lastModified\":\"2026-06-17T08:45:47.980\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"La correcci\u00f3n aplicada en CVE-2025-22228 rompi\u00f3 inadvertidamente la mitigaci\u00f3n de ataques de temporizaci\u00f3n implementada en DaoAuthenticationProvider. Esto puede permitir a los atacantes inferir nombres de usuario v\u00e1lidos u otro comportamiento de autenticaci\u00f3n a trav\u00e9s de diferencias en el tiempo de respuesta bajo ciertas configuraciones.\"}],\"affected\":[{\"source\":\"security@vmware.com\",\"affectedData\":[{\"vendor\":\"Spring\",\"product\":\"Spring Security\",\"defaultStatus\":\"affected\",\"collectionURL\":\"https://spring.io/projects/spring-security\",\"versions\":[{\"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\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@vmware.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\",\"baseScore\":5.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":1.4}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-01-22T21:27:06.559653Z\",\"id\":\"CVE-2025-22234\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security@vmware.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-208\"}]}],\"references\":[{\"url\":\"https://spring.io/security/cve-2025-22234/\",\"source\":\"security@vmware.com\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-25T23:43:03+00:00",
      "cve": "CVE-2025-22234",
      "id": "CVE-2025-22234",
      "initial_release_date": "2025-01-01T00:00:00+00:00",
      "product_status:known_affected": "13",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "org.springframework.security/spring-security-core: Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-22234.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"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:08.374Z\"}}], \"cna\": {\"title\": \"Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"reporter\", \"value\": \"Jonas Robl\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"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\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line).\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eUpgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line).\u003c/p\u003e\", \"base64\": false}]}], \"datePublic\": \"2025-04-25T15:43:00.000Z\", \"references\": [{\"url\": \"https://spring.io/security/cve-2025-22234/\", \"name\": \"Spring Security Advisory: CVE-2025-22234\", \"tags\": [\"vendor-advisory\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.5.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eThe 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.\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-208\", \"description\": \"CWE-208 Timing Descrepency\"}]}], \"providerMetadata\": {\"orgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"shortName\": \"vmware\", \"dateUpdated\": \"2026-01-22T21:02:23.992Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-22234\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-22T21:27:13.558Z\", \"dateReserved\": \"2025-01-02T04:29:59.191Z\", \"assignerOrgId\": \"dcf2e128-44bd-42ed-91e8-88f912c1401d\", \"datePublished\": \"2026-01-22T21:02:23.992Z\", \"assignerShortName\": \"vmware\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…