hn.today

Someone reported java4shell bug in September 2026

github.com459 points131 comments
Screenshot of Someone reported java4shell bug in September 2026

A proposed OpenJDK fix addresses a memory overwrite in the x86-64 AVX-512 VBMI path of the Base64 decoder. The defect is in `StubGenerator::generate_base64_decodeBlock()`, where the `L_finalBit` handling processes 1-63 leftover input bytes using a masked vector operation. It calculates the output size as three bytes for every complete four-byte group, but a short, padded tail can make the decoder write past the intended output buffer. The report says the problem occurs only with invalid input: valid Base64 input lengths are multiples of four. The change was submitted as a one-commit pull request on September 9, 2026, under a description identifying an overwrite on a short padded tail.

The report connects the bug to Adoptium support investigations, including a JVM crash in `JVM_ArrayCopy` and a crash on a compiler thread; both linked reports are marked closed. OpenJDK’s bot applied the hotspot-compiler label, set a requirement for two reviews, and warned that the change was not yet ready for integration. No reviews appear in the pull request. After more than eight weeks of inactivity, a bot warned that it would be closed unless activity resumed; the contributor closed it on November 4, 2026. The provided details therefore describe a reported decoder defect and an attempted fix, not a confirmed change merged into OpenJDK.

Read on github.com131 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Upload2Shell · CVE-2026-125396

Upload2Shell · CVE-2026-125396

A use-after-free in Ghostscript’s Type 1 font loader lets crafted documents escape the -dSAFER sandbox and run commands through vulnerable upload, preview, and document-processing workflows. Ghostscript 10.08.0 fixes the flaw, with downstream vulnerabilities also reported in services including Debian CUPS, Roundcube, Plesk, and WordPress. (pwn.ai)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.