Technology1 min read

Someone reported java4shell bug in September 2026

By · Published by Everything Blog

In short

The vulnerability, tracked as bug 8392044, compromises the StubGenerator Base64 decoding routine on the x86_64 AVX-512 VBMI path. It activates when an invalid tail under four bytes, such as 64 "A" characters followed by an "=" symbol, causes the output size calculation to drop below zero. This mathematical failure generates an invalid mask that overwrites memory past the intended output boundary. Developer albertnetymk submitted OpenJDK pull request 32781 to implement an early return to Java for inputs under four bytes, but integration remains blocked.

Key points

  • The flaw permits the decoding stub to write past the logical buffer limit, resulting in h…: The flaw permits the decoding stub to write past the logical buffer limit, resulting in heap corruption before returning execution to Java.
  • The proposed mitigation enforces an early return to Java whenever the processed input len…: The proposed mitigation enforces an early return to Java whenever the processed input length drops below four bytes.
  • OpenJDK pull request 32781 requires two reviews to merge but has been blocked and marked…: OpenJDK pull request 32781 requires two reviews to merge but has been blocked and marked inactive for over eight weeks.

Sources checked by our analysis pipeline: 1

Repository navigation

8392044: AVX-512 Base64 decoder overwrites output buffer on short padded tail - #32781

albertnetymk wants to merge 1 commit into

Conversation

👋 Welcome back ayang! A progress list of the required criteria for merging this PR into |

❗ This change is not yet ready to be integrated. |

@albertnetymk The following label will be automatically applied to this pull request:

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |

The total number of required reviews for this PR has been set to 2 based on the presence of this label: |

@albertnetymk This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply issue a |

In

StubGenerator::generate_base64_decodeBlock()

(x86_64 AVX-512 VBMI path),L_finalBit

handles 1-63 leftover bytes with a masked vector sequence that computesoutput_size = (len/4)*3

. Valid inputs always have a length multiple of…

Technology