CVE-2026-42198: Scram Client Unbounded Pbkdf2

Generating a SCRAM client final message without validating the PBKDF2 iteration count allows a malicious server to cause a client-side Denial of Service (DoS). Retrieve the iteration count using getIterationCount() and enforce a maximum limit before proceeding.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-42198-scram-client-unbounded-pbkdf2 --engine opengrep

Description

Generating a SCRAM client final message without validating the PBKDF2 iteration count allows a malicious server to cause a client-side Denial of Service (DoS). Retrieve the iteration count using getIterationCount() and enforce a maximum limit before proceeding.