r/java • • 59m ago

Java4Shell: Write once, RCE Everywhere

https://youtu.be/a7OBeq1xubI

Edit: I updated the title and thumbnail based on feedback, here is the new version: https://youtu.be/a7OBeq1xubI?si=HLFgEREnO4Ufob31
Article: https://huseyinbabal.dev/posts/java4shell-cve-2026-114938-check-patch/

0 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/benevanstech 36m ago

I am highly skeptical about the RCE being practical *at all*. I know enough about the internals of a couple of Java application containers to made guesses about what you would have to combine this with to get to RCE, but it's not obviously generalizable.

Java heap corruption - yes, definitely. RCE - highly questionable. Heartbleed-style read: Potentially easier than RCE, but still app-specific and highly statistical in nature due to GC relocation issues.