Skip to main content
    SpinDepth
    SpinDepth
    News

    Japan's banks and railways went offline for a PHP flaw: what php2shell is and why Asia should check its websites now

    By SpinDepth · Strategic Communication desk

    7 min read
    Japan's banks and railways went offline for a PHP flaw: what php2shell is and why Asia should check its websites now

    What is php2shell? It is the nickname for two critical vulnerabilities in PHP, the programming language that runs behind most of the world's websites, and it briefly knocked banks, railways and government sites in Japan offline. After the flaws were disclosed on the night of 21 October, MUFG Bank and JR West announced extraordinary system maintenance, according to Kyodo via The Mainichi, and at least 246 Japanese organisations suspended services as a precaution.

    The good news is that patches arrived the same night and no damage from a successful attack had been confirmed by 24 October. The bad news is that PHP is everywhere, including on thousands of sites across Southeast Asia, and many will not patch quickly. If you run a website, an online shop or a customer portal on PHP or WordPress, this is the week to check it.

    What went wrong in PHP?

    PHP is the language that powers dynamic web pages, such as shopping carts, member logins and contact forms. According to W3Techs data cited in a detailed Japanese explainer published on note, about 70 percent of websites whose server side language can be identified use PHP, and WordPress, the most widely used site builder in the world, runs on it.

    The two flaws sit in how PHP handles incoming requests. When PHP reads and organises submitted form data and runs out of memory partway through, it can in some cases treat the incomplete data as valid. An attacker who triggers this can execute arbitrary commands on the server, which is known as remote code execution. Because the problem occurs before any application code runs, login screens and input checks inside the application cannot stop it, and a compromised page may still look normal.

    Both vulnerabilities were rated 9.2 out of 10 under the CVSS v4.0 scoring system, an emergency level. Security firm Wiz, one of the discoverers, compared the situation to Heartbleed, the 2014 bug that shook the internet.

    Who went offline in Japan?

    Japan responded faster and more visibly than most countries. On the night of 21 October, bank apps, municipal websites, popular games and online shops entered emergency maintenance one after another. MUFG Bank and JR West were among the best known names, and reports said government ministry websites and even Prime Minister Sanae Takaichi's website were partially suspended while patches were applied.

    The security blog piyolog compiled a list of at least 246 organisations that stopped services as a precaution, spanning banks, local governments, game companies and e commerce. The Japanese Bankers Association confirmed that payments were not affected, which was the most important reassurance for consumers.

    Taking a website offline for a night is embarrassing. Leaving an unpatched server online during a critical flaw is how breaches begin.

    SpinDepth Research

    The government is treating it seriously. Reuters reported that Japan plans to simulate cyberattacks in response, and the prime minister publicly warned about the vulnerabilities.

    The PHP logo
    About 70 percent of websites with an identifiable server side language use PHP Colin Viebrock (Public domain), via Wikimedia Commons.

    Why Southeast Asia should pay attention

    Japan's reaction was unusually transparent. Many organisations elsewhere patched quietly, or not at all. Southeast Asia has a large population of PHP and WordPress sites, from small online sellers to regional banks' marketing pages and government portals, and the region has been a frequent target for cybercrime and online scams.

    The risk is not just theft of data. A compromised server can be used to host phishing pages, inject fake payment forms or spread malware to customers, all while the site appears to work normally. That matters for banks and fintechs that rely on customer trust, and for regulators already worried about AI assisted attacks, as we covered in our report on AI powered cyberattacks on Korea's major banks.

    The steps every organisation running PHP should take include:

    • Update PHP to the patched version released on 21 October as a priority
    • Ask hosting and rental server providers whether they have applied the patch
    • Update WordPress, plugins and frameworks that bundle their own PHP components
    • Review server logs for unusual requests or unexpected processes since 21 October
    • Check for unfamiliar files, admin accounts or injected scripts on public pages

    What it means for banks and fintechs

    For financial institutions, php2shell is a reminder that the weakest link is often not the core banking system but the surrounding web estate: marketing sites, application forms, investor pages and third party plugins. Those systems are frequently built on PHP and maintained by outside agencies, and they can be overlooked when patches arrive.

    Regulators across Asia have been tightening technology risk rules. Bank Negara Malaysia this month revised its risk management in technology policy to include a cyber security code of practice, and Japan's financial institutions have faced a string of incidents this year, as we noted in our report on Japan's data breaches and ransomware attacks. Fast, coordinated patching is now an explicit supervisory expectation.

    The reputational lesson is mixed. Japanese firms that went offline briefly faced inconvenience but protected customers. Firms that stayed online without patching took a far bigger, if less visible, risk.

    What happens next

    The next phase is exploitation. Large numbers of attack attempts have been observed worldwide since the disclosure, according to the explainer, and history shows that criminals target unpatched servers for months after a major flaw becomes public. The organisations most at risk are those that do not know they run PHP at all, often because a vendor built their site.

    Expect follow up advisories from national cybersecurity agencies across Asia and more questions from regulators about patch timelines. For customers, the practical advice is simple: be wary of unusual login pages, payment requests or messages that appear to come from familiar websites over the coming weeks.

    The Mitsubishi UFJ Financial Group logo
    MUFG Bank was among the Japanese institutions that carried out extraordinary maintenance Mitsubishi UFJ Financial Group (Public domain), via Wikimedia Commons.

    What is php2shell?

    php2shell is the nickname for two critical PHP vulnerabilities disclosed on 21 October 2026 that can allow attackers to execute code on a server without logging in.

    How serious are the PHP vulnerabilities?

    Both were rated 9.2 out of 10 under CVSS v4.0, an emergency level, and security firm Wiz compared the issue to Heartbleed.

    Which Japanese companies were affected?

    MUFG Bank and JR West carried out extraordinary maintenance, and at least 246 organisations including banks, municipalities, games and online shops paused services, according to piyolog.

    Were bank payments affected in Japan?

    The Japanese Bankers Association said payments were not affected.

    Has anyone been hacked through php2shell?

    No damage from a successful attack had been confirmed as of 24 October 2026, though many attack attempts were observed.

    How do I fix the PHP vulnerability?

    Update PHP to the patched version released on 21 October and check that your hosting provider, WordPress installation and plugins are updated.

    Does this affect WordPress sites?

    WordPress runs on PHP, so WordPress sites depend on the server's PHP version being patched.

    How common is PHP?

    About 70 percent of websites whose server side language can be identified use PHP, according to W3Techs data.

    Why did Japanese websites go offline?

    Many organisations suspended services as a precaution while they applied patches, prioritising safety over availability.

    Is Southeast Asia at risk?

    Yes. Many websites in the region run PHP or WordPress, and unpatched servers can be exploited for data theft, phishing or malware.

    What should customers do?

    Be cautious of unusual login pages, payment requests or messages that appear to come from familiar websites in the weeks after the disclosure.

    Is the Japanese government responding?

    Reuters reported that Japan plans to simulate cyberattacks, and the prime minister publicly warned about the vulnerabilities.

    What are the CVE numbers for php2shell?

    A Japanese explainer citing official advisories listed the two vulnerabilities as CVE-2026-109618 and CVE-2026-109619, each rated 9.2 out of 10 under CVSS v4.0.

    Can login screens stop php2shell attacks?

    No. The flaw occurs while PHP processes incoming request data, before the application code runs, so login screens and input checks inside the application cannot block it.

    Who discovered the PHP vulnerabilities?

    Security firm Wiz was among the discoverers and compared the severity of the problem to Heartbleed, the 2014 bug that affected large parts of the internet.

    Why is shared hosting a risk?

    Many small businesses rely on rental servers where the hosting provider controls the PHP version. If the provider has not patched, every site on that server may remain exposed.

    Which sectors in Japan paused services?

    Banks, municipalities, railway operators, game companies, online shops and government ministry websites were among the organisations that entered emergency maintenance after the disclosure.

    How long will attackers target php2shell?

    History suggests criminals keep scanning for unpatched servers for months after a major flaw becomes public, so organisations that delay patching remain at risk well beyond the first week.

    The php2shell episode shows how a single flaw in widely used software can ripple through banks, railways and governments in a single night. Japan's quick, visible response limited the damage, but the hardest part of any critical vulnerability is the long tail of unpatched servers. For businesses across Asia, checking PHP versions this week is cheaper than explaining a breach later.

    Talk to the SpinDepth desk

    You've finished this story

    Read on, send it to someone, or ask about it.

    Up next · AI & techOne cloud attack, 495 organisations: Japan's breach wave is a lesson in third party risk

    Send this story