The maintainers of popular open source programming languages are rapidly rolling out security patches for vulnerabilities that could be exploited by threat actors for remote code execution (RCE).

Those behind Ruby, PHP, and Java combined released more than 100 fixes for a wide range of flaws, including critical ones that hackers can use to run unauthorized code on victims’ systems.

The latest round of patches is only the latest example of how AI is helping researchers find vulnerabilities in their software. The newest security flaws behind the fixes this week – Ruby2Shell and Java4Shell – both were detected with the help of AI-assisted research. The updates to PHP come just weeks after the discovery – also using AI – of PHP2Shell, the far-reaching bug that affected as much as 70% of websites around the globe.

“AI has made it cheap to audit the dense native code underneath these languages,” Ben Ronallo, Director of Cybersecurity Operations at Black Duck, told Security Boulevard. “[Cybersecurity firm] Calif says Java4Shell took about an hour to find and two more to exploit, for under $200, a month after the same firm helped find PHP2Shell.”

Defensive Research is Accelerating

With AI being used to find two of the vulnerabilities fixed this week, plus PHP2Shell, indicates the pace of defensive research is accelerating, according to Trey Ford, chief strategy and trust officer at Bugcrowd.

“There is active debate in the cyber community as to whether offensive actors are accelerating exploitation campaigns leading to compromise,” Ford told Security Boulevard. “This debate is far from settled. Breaches are not widely public, and they’re a lagging indicator, not something that can inform us today. This is a fast-moving space. Once a bug is public, the time to a working exploit keeps shrinking, AI-assisted or not.”

The difficult – and dangerous – question cybersecurity leaders need to focus on involves exploitation likelihood, he said, by asking “is this asset internet exposed, and accessible? Is authentication required? What’s required to exploit this?”

Digging Deep for the Flaws

Ronallo also noted that big vulnerability disclosures tend to send researchers back to the same code, as evidence by PHP’s releases this week fixed the third serious issues linked to its session upload progress in a month, and Ruby’s updates fixed seven memory-safety flaws at once. Such disclosures also are compressing fix timelines.

“More than 100,000 CVEs have been published this year, more than double the 2025 total, with much of the increase attributed to AI-assisted research,” he said.

The use of AI in vulnerability discovery is accelerating the time to exploitation. Bad actors are using legitimate AI tools – like the ARTEX open source AI penetration tool – though it’s mostly used to exploit known vulnerabilities, Ronallo said.

PHP and Java

Oracle this week released a security update for Java4Shell – tracked as CVE-2026-114938 – an out-of-bounds memory write of OpenJDK’s hardware-optimized Base64 decoder, which is used by developers to convert Base64-encoded text back into its original raw binary byte data. Java4Shell, discovered by researchers at Calif and given a critical severity rating of 9.2, affects OpenJDK versions 17.0.6 and later. The fix for Java4Shell was part of a larger list of updates.

The decoder is part of the Java Development Kit and the researchers wrote that they’ve demonstrated RCE in such Java applications as Jenkins and JFrog Artifactory. CISA and security vendors like Rapid7 urged organizations to immediately apply the patch.

Also this week, the PHP Foundation rolled out security fixes for 18 vulnerabilities. Seven of those are deemed critical. The new patches, part of the foundation’s regular four-week patch schedule, come a month after the discovery – again by Calif – of the two PHP2Shell vulnerabilities.

Soon after PHP2Shell was disclosed, cases of in-the-wild attacks of internet-facing systems were detected.

Ruby2Shell Gets a Fix

The maintainers of the Ruby programming language released fixes for seven flaws, including Ruby2shell – tracked as CVE-2026-132825 and given a severity score of 7.4 out of 10 – that is a one-byte heap overflow in the interpreter’s string case conversation. The maintainers said that proof-of-concepts (PoCs) have shown that an unauthenticated hacker could exploit the flaw to run code on default Ruby on Rails software.

“Even without code execution, a crafted request can crash the Ruby process,” OX Security researchers wrote in a report.

Aikido Security researchers wrote that Rails and classic-style Sinatra apps are exposed by default, adding that “GitLab is affected, and so are GitHub Enterprise Server, Mastodon, OpenProject, Discourse and Chatwoot. Their latest releases still bundle a vulnerable Ruby.”

Both vendors wrote that no attacks in the wild have been reported, but noted that the maintainers know of PoC exploits.

PoC on the Way

Cybersecurity startup Veria Labs wrote that the root cause of Ruby2Shell is that “most of Ruby’s single-byte encodings have no capital ß. Upcasing it writes two bytes, SS, but the loop only bounds-checks one. The output buffer is allocated as the input length plus 20 bytes. Each ß adds one byte to the output, so an input with 21 of them overflows the buffer by one byte.”

The Veria Labs researchers said they were the first to discover the flaw and to demonstrate RCE. They added that they plan to publish a PoC demonstrating RCE on stock Rails on November 25, or later if top vendors haven’t shipped a fix by then.

‘More Marketing Than Risk’

Despite the risk, OX researchers wrote that “Ruby2Shell is more marketing than actual risk. The bug is real and the fix is worth installing, but nothing published so far shows that attackers can, or will, turn it into a working attack against real Ruby applications.”

There may be PoCs but not a weaponized exploit that can work against real applications, and that it is likely is not a reliable flaw for bad actors to target.

“Turning a one-byte heap overflow into code execution typically means grooming the heap, tailoring the exploit to each target and crashing the process on every miss,” they wrote. “The attacker has to get crafted input into the affected regex or string case conversion code of a specific application.”