DSA-3074-1: php5 - security update

php5 Updated 02 Oct 2025

Summary

18/11/2014
N/A
Yes i
Unrated
Not published

DSA-3074-1: php5 - security update. Affects php5 versions < 5.4.35-0+deb7u1. Fixed in 5.4.35-0+deb7u1. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PHP is a general-purpose scripting language widely used for web development. It is embedded in various applications and provides a range of functionality for creating dynamic web pages. The php5 package is specifically designed for Debian 7 (Wheezy) and includes the PHP interpreter and related modules. This package is vulnerable to a denial of service (DoS) attack due to a flaw in the file utility, which is embedded in PHP. The flaw allows attackers to cause an out-of-bounds read and application crash by supplying a specially crafted ELF file.

Vulnerability Detail

The vulnerability in the php5 package arises from the incorrect checking of note headers when processing ELF files. This flaw can be exploited by supplying a specially crafted ELF file, leading to a DoS condition. An attacker can trigger an out-of-bounds read, causing the application to crash. The impact of this vulnerability is limited to the availability of the affected application and does not allow for remote code execution or privilege escalation.

How To Fix

Minimum fixed version

5.4.35-0+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php5

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

Workaround

There are no known workarounds for this vulnerability. It is essential to apply the recommended fix by upgrading the php5 package to the latest version.

Conclusion

The php5 package in Debian 7 (Wheezy) is vulnerable to a denial of service (DoS) attack due to a flaw in the file utility. To mitigate this vulnerability, it is recommended to upgrade the php5 package to version 5.4.35-0+deb7u1 or later. This will ensure that the vulnerable code is replaced with a patched version, eliminating the risk of a DoS attack. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for php5 →

Share this vulnerability

FAQ

The vulnerability allows attackers to cause a denial of service (DoS) by supplying a specially crafted ELF file, leading to an out-of-bounds read and application crash. However, it does not enable remote code execution or privilege escalation.

The vulnerability affects the php5 package in Debian 7 (Wheezy) before version 5.4.35-0+deb7u1.

No, there are no known workarounds for this vulnerability. It is crucial to upgrade the php5 package to the latest version.

No, this vulnerability does not allow for remote exploitation. An attacker needs to supply a specially crafted ELF file directly to the affected application.

For more information about the upstream changes, please refer to the upstream changelog for PHP version 5.4.35.

Related vulnerabilities

Recent vulnerabilities recorded for php5.

How To Fix

Minimum fixed version

5.4.35-0+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php5

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