A critical vulnerability within a key element of the internet’s framework was revealed this week, prompting website administrators across the globe to rush to implement a solution.
The issue was found in the PHP programming language, a widely utilized software described as “the backbone of the internet” by Isaac Privett, a senior penetration tester with Toronto’s cybersecurity firm Packetlabs.
This vulnerability had been present for several years, potentially enabling malicious actors to access websites, modify them, and extract sensitive data.
-
Canadian government sites among those offline after flaw identified in widely used computer language
This situation led many to take their sites offline while addressing the fix, resulting in some websites, including Canadian government sites, becoming inaccessible.
Here’s what you should know about PHP, how this vulnerability was uncovered, and its severity.
What is PHP?
PHP is an open-source programming language, meaning it is freely available for anyone to download and use, and it is widely adopted across the web. The technology is overseen by the non-profit PHP Foundation, which consists of volunteer board members and a small group of developers.
When a user visits a website, numerous elements—such as images, links, and color schemes—must be organized and presented correctly to users, as explained by technology analyst Carmi Levy. PHP is responsible for gathering these components and enabling websites to function.
“PHP operates quietly in the background to ensure that fragmented data stored on a server is transformed into an interactive website accessible on your device,” noted Levy, who is located in London, Ontario.
According to Wiz, one of the cybersecurity firms that identified the vulnerability, approximately 70% of websites utilize PHP, while web technology tracker W3Techs estimates the figure to be 75%.
This extensive usage makes it a “foundational” technology essential for the internet’s operation, Levy stated, underscoring why a flaw in PHP could have broad ramifications.
What’s the issue, and how was it uncovered?
A team of researchers from two cybersecurity companies, Calif and Wiz, published blog posts on Wednesday detailing two vulnerabilities they discovered within PHP. Their work was part of an OpenAI program aimed at identifying potential vulnerabilities across the internet, including within PHP.
Ryan Austin, a cybersecurity researcher at Calif.io who was involved in identifying the issues, noted he recalled a security flaw in PHP from 2004 and instructed OpenAI’s GPT‑5.6 Sol to search the same section of PHP’s code for additional potential vulnerabilities.
“A few days later, we found something quite significant,” Austin remarked.
The PHP Foundation clarified in a Wednesday statement that both vulnerabilities involve “areas of PHP that are touched by nearly every request: memory management and error handling.”
According to Austin, when PHP encounters an error, it can leave memory details that may be corrupted, potentially providing hackers with a means to infiltrate websites.

Tech analyst Carmi Levy emphasizes that the extensive use of PHP across the internet is part of what makes a vulnerability in it so alarming. (Submitted by Carmi Levy)
Once hackers gain access, they could modify websites—possibly installing malware or deleting content—or access sensitive information such as passwords, as noted by Levy.
Wiz reported that these vulnerabilities have existed for over a decade. The PHP Foundation acknowledged that a researcher had proposed the possibility of this exploit in 2024, but no definitive method to execute it was uncovered at that time.
The PHP Foundation described the delay in addressing the issue as a “structural failure” resulting from resource limitations and the security team’s decision-making process.
How serious is it?
Levy compared the situation to a scenario in which a leading manufacturer of door locks discovers that a master key is readily accessible.
<p"Therefore, someone could easily approach your door, use that master key, and gain entry into your home," Levy explained.
Security incidents are rated on a scale from zero to ten using the Common Vulnerability Scoring System, with these vulnerabilities scoring a 9.2, which Levy indicates is quite severe.
“One vulnerability in a technology that nearly everyone uses indicates a potential global impact,” Levy stated.
From Austin’s viewpoint, it represents “probably one of the most severe vulnerabilities I’ve ever encountered.”
How is it being resolved?
Cybersecurity specialists report that the positive news is that a remedy is available.
The PHP Foundation released patches for the vulnerabilities on Wednesday and urged users to apply the fix immediately.
Cybersecurity agencies and leaders globally, including those in Canada, echoed this request.

A programmer engages with PHP code at RK Solutions software development firm in Guernica, Spain, on Thursday. (Vincent West/Reuters)
A number of websites, including those of the Canadian, French, and Japanese governments, were taken offline while the security issue was addressed. Provincial websites for Newfoundland and Labrador and Prince Edward Island, for example, were down for the day, but both appeared to be operational again by Thursday.
The cyber unit of the U.S. National Security Agency advised organizations unable to patch the problem immediately to take their websites offline until the fix could be applied.
While the shutdowns caused some anxiety, Levy points out a positive aspect: these sites were temporarily taken offline out of caution after researchers identified the vulnerability before it could be exploited by hackers, indicating that the alert system is functioning effectively.

The Newfoundland and Labrador government site was taken offline on Wednesday after the PHP vulnerabilities were revealed. (CBC)
Some sites faced hacking attempts following the disclosure of the vulnerability, but these attempts seemingly failed. For instance, the CEO of Cloudflare reported on social media that the Cloudflare network encountered tens of thousands of attempts to exploit the flaw within 45 minutes of the announcement and “hundreds of thousands” within two hours.
On Wednesday, the PHP Foundation informed CBC News via email that they had not observed any successful exploitation of the vulnerability by hackers.
Do I need to take measures?
Cybersecurity experts emphasize that since this issue impacts the backend of websites, it is primarily the responsibility of operators—such as businesses or organizations—to ensure they implement the fix.
For most website administrators, this process is relatively straightforward—similar to updating a personal computer, according to Privett from Packetlabs.
“You simply need to upgrade to the latest version of PHP, which should resolve about 99 percent of your issues,” Privett explained.
However, due to the public nature of the vulnerability and the fix, Privett advises website operators to look for signs of potential breaches that may have occurred prior to applying the patches.
“After you apply the fix, it’s wise to search for signs of compromise in case someone exploited that vulnerability within your system,” Privett cautioned.
He also encourages individuals with their own websites or applications to verify whether they utilize PHP to ensure their protection.
For all users, Levy suggests that they can safeguard themselves from potential data breaches by enhancing their digital security practices. Implementing strong password management—by frequently changing passwords and avoiding reuse—and enabling two-factor authentication can help ensure that even if hackers gain access to data on a compromised website, they will be less effective in utilizing that information against you.




