CVE-2026-63124: Java Parser Loop Progress Guarded Only By Assert

Parse loop subtracts the number of bytes consumed from a remaining-length counter but enforces forward progress only with `assert`, which is disabled in production JVMs. A single iteration whose parser helper consumes 0 bytes (for example a "need more input" path returning null) leaves the loop condition unchanged and the decoder spins forever on attacker-co

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-63124-java-parser-loop-progress-guarded-only-by-assert --engine opengrep

Description

Parse loop subtracts the number of bytes consumed from a remaining-length counter but enforces forward progress only with `assert`, which is disabled in production JVMs. A single iteration whose parser helper consumes 0 bytes (for example a "need more input" path returning null) leaves the loop condition unchanged and the decoder spins forever on attacker-co