Someone reported java4shell bug in September 2026 (github.com)

265 points by notmine1337 9 hours ago

black3r 4 hours ago

The very first referenced issue in that PR discussion sheds a bit more light on this: https://github.com/adoptium/adoptium-support/issues/1480

This PR's author says there on October 1st: "Got an email from Oracle asking me to NOT proceed with a PR until receiving approval." and then on October 28th: "It's taken over by Oracle. Nothing required from us."

mzs 4 hours ago

should have known at this point it's a potential security issue and maybe the AI regurgitated this:

https://github.com/adoptium/adoptium-support/issues/1480#iss...

edit: also oracle is big enough to have one of every modern gen to test on

pixl97 2 hours ago

The proper way to deal with a security bug in any Oracle software is to zero day it.

They are the biggest asshole of a company when it comes to anything, but especially security issues. They are one of the least friendly companies to security researchers and are likely to attack you with lawyers.

Fuck Oracle. We should be putting them out of business.

malfist 2 hours ago

wood_spirit 5 hours ago

So the implication is that the LLM that assisted the Calif researchers might have read this previous bug report and not independently discovered it?

dlenski 4 hours ago

I don't think that's a reasonable implication at all.

There are lots of bugs in lots of software, and lots of them get ignored when reported.

I personally aware of multiple security vulnerabilities in major pieces of software that everyone has heard of, which I very quickly and easily stumbled on while working on this software as an AWS engineer several years ago. I had never used an LLM of any kind at the time.

I presented my findings both internally and externally, and the reactions ranged from shrugs to delays to hostility towards me for "getting distracted" or "being overly negative."

Those bugs that I discovered still exist, last time I checked.

ajasmin an hour ago

Minimum Secure Product -> Ship it to prod.

cryptonector 5 hours ago

Idk that u/notmine1337 meant that. I have questions:

- why was this not a secure vulnerability report, why was it public?

- why was this closed [by the submitter]?

For the second question, I suspect it's because they were told a different fix was coming.

jakewins 4 hours ago

Why it was closed, surely, was because the only reaction to the PR was a bot saying it will automatically close the PR soon because of inactivity?

I know I have opened a lot of PRs where the only result is I get bot spam in my email and no project reaction, so I close the PR to stop the bot spam; if nobody from Oracle has reacted in 2 months it seems unlikely anyone will.

Nowadays I’ve stopped opening “cold-call” PRs like this. I find a way to chat with a maintainer first and anchor what I want to do (“I hit this bug, would you take a PR to fix it? I was thinking it could be solved by x, would that work?”

Much much better outcomes that way.

eru 2 hours ago

philipwhiuk 4 hours ago

> why was this not a secure vulnerability report, why was it public?

Because it was seen as a crash not an RCE. AI's power has been chaining simple crashes into exploits. But that's not generally going to be true.

wat10000 4 hours ago

Botifier an hour ago

Oracles comment for the merged commit is the exact same as in that PR word for word: https://github.com/openjdk/jdk/commit/5177a70b385c16f26ede19... https://github.com/openjdk/jdk/pull/32781/changes/d2f942c478...

darkamaul 5 hours ago

We will never know, but there is a chance that the Calif's researcher model decided to look at the open and closed issues / PRs of the repo.

Nonetheless, being able to understand the criticality of a finding, and how to exploit it are other skills, that still require supervision.

eru 2 hours ago

> We will never know, but there is a chance that the Calif's researcher model decided to look at the open and closed issues / PRs of the repo.

I often do this when looking for low hanging fruit. A lot of the time you find half-abandoned PRs when the original author ran out of damns to give.

kccqzy an hour ago

Even earlier. The bug, SIGSEGV, was reported back in June. The original reporter isolated it to base64 in September.

https://github.com/adoptium/adoptium-support/issues/1480

rzmmm 5 hours ago

From califio: "I focused the audit on the JIT compiler, intrinsics, widely accessible APIs, and cryptography. Well, more precisely, I told Codex to look at those areas like any serious security researcher in 2026."

Maybe simply a coincidence, but I would put my bets that the first person with the PR was also using Codex, and the model was exposed to the details of the bug.

rfgplk 5 hours ago

> From califio: "I focused the audit on the JIT compiler, intrinsics, widely accessible APIs, and cryptography. Well, more precisely, I told Codex to look at those areas like any serious security researcher in 2026."

I have no idea why people keep talking like this. Probably because sadly most engineers lack the ego to back themselves up. Imagine if someone said this in 2015: "I worked on the physics engine, tests, via widely accessible libraries. Well, more precisely, I told my compiler to read the source code and compile it like any serious software engineer in 2026."

Quit saying Codex/Claude/an LLM did something. They didn't. You did.

xmodem 5 hours ago

"I worked on the physics engine, tests, via widely accessible libraries." is a nonsensical sentence as written, but a colleague who told me they had done this would be telling me a vastly different thing to if they had told me they had compiled the source code to a physics engine.

There is a massive difference between prompting "security audit this codebase, make no mistakes", performing an in-depth agent or LLM-assisted focused search for security relevant code, or otherwise manually reviewing code as we did in the pre-LLM era. It behooves us to be honest about our own personal contribution to our output - both towards others and to ourselves.

tkz1312 4 hours ago

LoganDark 5 hours ago

> Quit saying Codex/Claude/an LLM did something. They didn't. You did.

I think there's a vast difference between giving source code to a compiler (even a superoptimizing compiler) and giving a prompt to a language model. This distinction absolutely deserves to be called out and not swept under the rug. It doesn't make you any less responsible for what you submit, but it's courteous to your reviewers to be transparent.

p-e-w 5 hours ago

A frontier AI is nothing like a compiler. The litmus test is how much expertise was required to get it to find the results. If a basic prompt brings up an industry-shaking vulnerability of this caliber, then the human was at best a janitor.

Izkata 2 hours ago

wat10000 4 hours ago

Is it really fair to say that I did something when my contribution was typing straightforward English prose for thirty seconds and then letting it run?

Your hypothetical makes the opposite point from what you intend. If someone in 2015 said that they worked on a physics engine, and all they did was run the compiler on existing code, we'd laugh them out of the room. Pointing an existing computer program at existing work doesn't count as doing very much.

ShinyLeftPad 42 minutes ago

It's an honest disclaimer of jerk behavior "i didn't care to review it carefully, you do it".

Because when people really spend the effort required to fully review and own the result, somehow they don't have a problem of pointing at models.

NooneAtAll5 5 hours ago

no, it's more like "I worked on physics engine. Well, more precisely, I used already made library and never even looked at actual physics"

InsidiousWombat 5 hours ago

Nice proof that the auto-close bots are literal cancer on project that make stuff worse.

It was literal bug with provided fix. All it needed is someone to have a proper look.

But someone clowned a bot under a visionary thought "if nobody looked it must not be important" and here we are

pron 2 hours ago

I work on the JDK, and while I have no involvement with this issue, knowing how we work, what has likely happened is quite the opposite. Bugs don't slip through our triage, and every bug that leads to a VM crash, especially in the compiler backend, is flagged for security review by the security research team; once that happens, no public communication is done. I don't know this is what happened here, but it is the most likely thing to have happened.

We're not talking any large open source project here. We're talking about a project that, like Linux, runs much of the world's software infrastructure, and even bugs that could potentially be vulnerabilities need to be handled with great care.

ShinyLeftPad an hour ago

Should jdk security team have wiped the PR then, if they noticed it? since it leaked a 0day

pron 24 minutes ago

stickfigure 5 hours ago

Agreed, but in this case it looks like the submitter closed it? What's that about?

pimterry 4 hours ago

They closed themselves immediately after the stale bot pinged to say it was going to be closed automatically. If you're not that investigated in a PR for a niche corruption bug, you open it and nobody responds for two months, when you get notified about it it's pretty reasonable to just close and move on. Perfectly normal OSS contributor behaviour imo (especially in this new world where every project is drowning under AI contributions, and struggling to stay responsive).

toast0 4 hours ago

dboreham 5 hours ago

They knew about the fix coming?

cryptonector 5 hours ago

dboreham 5 hours ago

A project with auto bug close signals to me that it is badly managed and hence should be used with caution.

lol768 an hour ago

Completely agree with this. At some point I want to make a side-project that you can run that auto-comments on tickets to keep them alive.

cryptonector 5 hours ago

It wasn't auto-closed.

lol768 an hour ago

Doesn't matter, it was about to be.

frangonf 5 hours ago

Even Duke gave up on the current state of software.

Would it be better to have some Oracle gpus running the dukebot? Are the robobun and friends better at real triage/escalation? Could we automate the robobots to register the `java2root.com` domain on its own, release a blog post and post it in twitter/hn upon every successful security issue?

bombcar 5 hours ago

Grab a billion tokens and farm auto-closed GitHub issues. Become HN famous for a day.

wat10000 4 hours ago

The bot auto-closes issues that have been inactive for 16 weeks. The CVE was published at about 10 weeks in. The auto-close bot was completely irrelevant to this. The issue wasn't that it got auto-closed (it didn't) but that nobody from the project looked at the PR. That's a hard problem to solve, because any big project has a lot of volume and it's easy to miss things. It's unfortunate but a fact of life that you can't just toss up a PR and expect anyone to automatically look at it.

fn-mote 4 hours ago

> you can't just toss up a PR and expect anyone to automatically look at it.

Except soon you can expect LLM triage to be standard.

We would then find out if enough tokens would be invested in this one to figure out it was important, but any look is better than none.

I actually think the suggestion in the PR should have been auto accepted by an LLM.

fulafel 6 hours ago

It's even titled buffer overflow.

yread 6 hours ago

They even used the same example as Calif: AAA....A=.

Alifatisk 6 hours ago

Using As when fiddling with the memory is common. Nothing unique to Calif.

rustyhancock 5 hours ago

Yes, especially in past decades when it's easy to spot 41414141 on the stack in a debugger.

You might follow up with a De Bruijn/cyclic pattern and can see the overflow happen by step1 and precisely locate it by what replaces the A's.

https://youtu.be/L2j90atBpRU?is=q6W_1eF4viMoKZEA

Didn't the Alpine Linux bug also use A's for the exploit to login as root?

gruez 6 hours ago

Not to mention it's the first letter in the base64 alphabet, so if you want a bunch of zeroes, that's how you get it.

echoangle 5 hours ago

layer8 6 hours ago

Except that in Base64 it’s not the alternating bit pattern of hex A (binary 0101), which is the property one uses it for in memory, but instead decodes to all-zeros (and is binary 01000001 in ASCII before decoding).

elashri 7 hours ago

This person is a member of OpenJDK organization and a contributer but not sure if he is oracle employee.

egorfine 6 hours ago

None of this did help: nobody gave a flying f.

bobmcnamara 5 hours ago

Someone probably gave a maintainer "the talk"