Someone reported java4shell bug in September 2026 github.com · 289 points · 79 c...
HN Best 30 @best30
Someone reported java4shell bug in September 2026 github.com · 289 points · 79 comments · HN thread
TL;DR A GitHub pull request in the OpenJDK repository, opened by Albert Yang in 2025 (titled "8392044: AVX-512 Base64 decoder overwrites output buffer on short padded tail"), reports and proposes a fix for a heap-corrupting buffer overflow in the AVX-512 Base64 decoder intrinsic. The PR sat unreviewed, was closed by its author after an inactivity bot warning, and the bug was later published as a CVE by Calif, an AI-assisted security research group, which has renewed debate about whether the earlier report was a missed warning.
- The PR describes the AVX-512 Base64 decoder stub writing past the logical output length on a short padded tail, corrupting the heap before returning to Java.
- The author reportedly received an email from Oracle asking them not to proceed with the PR until approval; on October 28 they wrote that Oracle had taken it over and nothing else was required from them.
- The PR was closed by its author after a stale-bot notice, and a linked adoptium issue shows the bug had been reported as a SIGSEGV back in June.
- The later public Calif report, which attributed discovery to an AI-assisted audit, used the same A-string example as the earlier PR.
- Commenters say JDK maintainers flag bugs that could be vulnerabilities for security review and avoid public discussion, so the lack of activity is not necessarily neglect.
Discussion The thread mixes three topics: the unanswered PR and whether it was an early warning of the later Calif-published CVE, the role of auto-close bots and maintainer triage in open source, and a long side debate about how to credit AI-assisted vulnerability discovery. Many commenters are hostile toward Oracle, with some calling for the company to be put out of business, while others, including a self-identified JDK developer, defend the security team's handling as standard practice for bugs that could be exploitable. The mood is angry and skeptical, with more heated exchanges about LLM credit than about the technical bug itself.
- Oracle's security handling and the PR's neglect were wrong (many): Several commenters argue the overflow was obviously exploitable given heap corruption, so the PR should have triggered a security response rather than being left idle. Some are bitter toward Oracle specifically.
- Maintainers likely handled it privately as a security issue (many): A commenter who says they work on the JDK explains that VM crash bugs in the compiler backend are routinely flagged for security review, which would explain the absence of public activity. Others accept this as plausible.
- Auto-close bots hurt project triage (some): Several commenters criticize bots that close stale issues, while others point out the PR was closed by its author before the bot acted, so the bot was not the cause.
- Crediting LLMs for findings is misleading (some): Commenters debate whether saying an AI tool found a bug overstates the human's contribution, comparing it to a compiler, and argue for disclosure of how the work was done.
- The earlier PR may have been read by the AI researcher (some): Several suggest the Calif model may have scanned closed PRs and issues for low-hanging bugs, though commenters admit this cannot be verified.
- Users shouldn't rely on this bug being unexploitable (a few): Some argue a public crash in a critical library can be turned into an exploit by a capable attacker, so dismissing it as merely a crash was a mistake.
Links from the comments
#Java #OpenJDK #security #bufferOverflow #openSource #AIFindings