Skip to content
Gold 24K / tola424,516Dollar (market)277Dollar open market280.3Petrol / litre382.02
zaviya
Trending#1Khyber Pakhtunkhwa#2Islamabad#3Karachi#4Pakistan#5OpenAI#6Punjab#7Balochistan#8Gold rate#9Namaz timings#10Dollar rate#11Baby names#12Petrol price
Breaking
OpenAI brings ChatGPT ads to 26 more markets, Pakistan includedLahore police arrest 5,212 suspects tied to 2,410 gangsMcCormick to buy 76.55% of Unilever Pakistan Foods LimitedICC ODI rankings: Pakistan move to fourth, ahead of AustraliaPakistan, Türkiye, Qatar and Indonesia to sign defence pactIslamabad local polls to proceed under 2015 law, ECP rulesAbbottabad mourns folk flautist Zakir Mir, funeral held TuesdayFIR against doctors: medical bodies condemn harassment casesPakistan warns India over strategic balance in South AsiaFesco news today: CEO booked for alleged Rs320m tax fraudIMF Pakistan tax: Fund flags unfair system, broader base soughtUS bars Cloudera from green card sponsorship for two yearsUS midterm elections: Republicans defend narrow majoritiesPakistan fiscal reforms: Zardari tells IMF team of commitmentPakistan LNG imports to bridge winter gas supply gapLaiba Ijaz case: main accused Noman dies in Islamabad firingNCCIA raids 35 locations in $126m US postal fraud probeMeta AI Muse app outpaces ChatGPT on US downloads in 40 daysPakistan army chief Munir discusses Iran mediation in TehranPakistan vs England: Arafat Minhas takes 6-40 in 87-run win

PHP vulnerabilities: NSA warns of two critical flaws in PHP

Two PHP vulnerabilities present since PHP 5 prompted an NSA warning to take unpatched websites offline, while AI tools helped researchers find them first.

Zaviya Desk

· 4 min read

Zaviya

PHP vulnerabilities came under sharp focus this week after the U.S. National Security Agency (NSA) warned that two critical flaws had been found in PHP, a programming language that powers a large share of the web. The agency said any website that cannot be patched immediately should be taken offline until it can be. Fixes have already been issued by the PHP Foundation, the group that maintains the language. The discovery is notable because AI tools helped find the flaws, and the same capability is now seen as a new source of risk.

Why these flaws matter

PHP runs on the server, so it handles a site's logic before the page reaches a visitor's browser. The language is widely used. By some accounts it powers roughly 70% of websites, which would be more than 33 million sites. It also underpins popular content management systems such as WordPress, the software many people use to build and run websites. The NSA said the holes could let attackers get into a server's file system or into a database that a web application uses.

The flaws have been present in all versions of PHP since version 5, which was released in 2004. PHP 8.1 and older releases are no longer supported, so sites on those versions need more than a routine update. The recommended step is to move to the current release, PHP 8.5.12.

How AI found the flaws

The security testing firm Calif took part in OpenAI's "Patch the Planet" initiative, which looks for weaknesses in open-source software. Using the GPT-5.6 Sol model, it found one of the flaws, OpenAI said in a blog post. Separately, Wiz used its Wiz Atlas AI security agent, along with Gemini 4 Argon and GPT-5.6 Sol, to find several vulnerabilities in PHP.

Both OpenAI and Wiz said they followed responsible disclosure, meaning they worked with PHP on fixes before making the flaws public. They then tested the patches with a group of other companies. OpenAI said researchers found the flaws before hackers did, so it had no reports of them being exploited in the wild. Wiz warned in its blog that AI removes an old barrier: large language models, the systems behind AI chatbots, can help an attacker adapt an exploit to different PHP versions, configurations and memory layouts. That is the core of the AI security risks here. Defenders gain a faster way to find flaws, and attackers may gain a faster way to use them.

WordPress said the flaw is not specific to its software. Sites running WordPress still need to patch their servers and check with their hosting companies to stay protected.

What site owners should do

The NSA's advice is direct: patch right away, and if that is not possible, take the website offline until the fix is in place. Owners should first check which PHP version their server runs, then ask their hosting provider whether the fix has been applied. With the details now public, the window to patch is shorter, because attackers have the same information. Reducing PHP vulnerabilities depends on acting quickly rather than assuming an older site is safe.

Aasan alfaaz mein

PHP ek aisi programming language hai jo bohat si websites chalati hai, aur is mein do sakht khamiyan mili hain jo hackers server tak pahunch sakti hain. Amreeka ki National Security Agency ne kaha hai ke website ko foran update karein, warna jab tak update na ho band rakhein. AI tools ne in purani khamiyon ko dhoondne mein madad ki, lekin yahi tools hackers ke liye bhi kaam asan kar sakte hain. Agar aap ki website ya online business PHP par chalti hai to apni hosting company se abhi poochein.

Questions readers ask

FAQ

This warning focused on two critical flaws that let attackers reach a server's file system or a database used by a web app. The sources do not give a full list of common categories, so the PHP Foundation's official security advisories are the best place to check.

Share this storyWeb stories →

Read next

More from Tech

See all
Share on WhatsApp