Critical Security Flaw in PHP 8.4: SQL Injection and Arbitrary Code Execution Vulnerabilities

php8.4 Updated 21 Aug 2026

Summary

20/08/2026
N/A
Yes i
High
8.1

RLSA-2026:56969: Important: php8.4 security, bug fix, and enhancement update. Affects php8.4 versions < 0:8.4.24-1.el10_2. Fixed in 0:8.4.24-1.el10_2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PHP is a widely-used open-source scripting language designed for web development. It allows developers to create dynamic web pages and offers built-in database integration for various database management systems. PHP is often utilized as a replacement for CGI scripts, making it a popular choice for server-side programming. However, vulnerabilities in PHP can lead to severe security risks, including unauthorized access and data breaches.

Vulnerability Detail

The vulnerabilities identified in PHP 8.4 include a SQL injection flaw due to improper backslash escaping (CVE-2026-17543) and an arbitrary code execution risk stemming from an out-of-bounds write in the bccomp() function (CVE-2026-17544). These vulnerabilities can allow attackers to execute malicious SQL queries or run arbitrary code on the server, potentially compromising sensitive data and server integrity.

How To Fix

Minimum fixed version

0:8.4.24-1.el10_2

This is the first release that contains the fix.

sudo dnf update php8.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can mitigate the risk of SQL injection by validating and sanitizing all user inputs before processing them in SQL queries. Additionally, consider disabling the affected functions until the patch is applied.

Conclusion

The vulnerabilities in PHP 8.4 pose significant security risks that can lead to SQL injection and arbitrary code execution. It is essential to update to the patched version 8.4.24 to mitigate these risks. Additionally, utilizing tools like Vulert can help monitor and manage vulnerabilities in your software effectively.

See every vulnerability recorded for php8.4 →

Share this vulnerability

FAQ

The CVSS score for this vulnerability is 8.1, indicating a high severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If exploited, these vulnerabilities can lead to unauthorized access, data breaches, and arbitrary code execution on the server.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

If an immediate update is not possible, implement input validation and sanitization as a temporary workaround to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for php8.4.

How To Fix

Minimum fixed version

0:8.4.24-1.el10_2

This is the first release that contains the fix.

sudo dnf update php8.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback