Moderate PHP Security Update: Heap-Based Buffer Overflow and Information Disclosure

php Updated 24 Feb 2026

Summary

17/02/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:2799: Moderate: php security update. Affects php versions < 8.0.30-5.el9_7. Fixed in 8.0.30-5.el9_7. 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 that is especially suited for web development. It allows developers to create dynamic web pages and applications. PHP is often embedded within HTML and is known for its ease of use and flexibility. However, like any software, it is susceptible to vulnerabilities that can compromise its security and the applications built on it.

Vulnerability Detail

This vulnerability arises from a heap-based buffer overflow in the array_merge() function, which can lead to arbitrary code execution. Additionally, there is an information disclosure risk via the getimagesize() function when reading multi-chunk images. These vulnerabilities can expose sensitive data and allow attackers to manipulate the execution flow of applications using PHP, potentially leading to severe security breaches.

How To Fix

Minimum fixed version

8.0.30-5.el9_7

This is the first release that contains the fix.

sudo dnf update php

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

Workaround

As a temporary measure, consider disabling the affected functions or limiting their usage until the update can be applied. However, the best course of action is to update to the patched version as soon as possible.

Conclusion

In summary, the recent PHP security update addresses critical vulnerabilities that could lead to severe security risks. It is crucial for developers and system administrators to update their PHP installations to the latest patched version to safeguard their applications from potential exploits.

See every vulnerability recorded for php →

Share this vulnerability

FAQ

A heap-based buffer overflow occurs when a program writes more data to a buffer located on the heap than it can hold, potentially overwriting adjacent memory and leading to unpredictable behavior.

You can check your PHP version by running 'php -v' in the terminal. If your version is below 8.0.30-5.el9_7, it is vulnerable.

Failing to update PHP can leave your applications exposed to attacks that exploit these vulnerabilities, leading to data breaches, unauthorized access, and potential loss of sensitive information.

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

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for php.

How To Fix

Minimum fixed version

8.0.30-5.el9_7

This is the first release that contains the fix.

sudo dnf update php

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