DSA-3074-2: php5 - regression update

php5 Updated 02 Oct 2025

Summary

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

DSA-3074-2: php5 - regression update. Affects php5 versions < 5.4.35-0+deb7u2. Fixed in 5.4.35-0+deb7u2. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

PHP is a general-purpose scripting language commonly used for web development. It is embedded in various applications and frameworks to provide dynamic content generation. The php5 package is specifically designed for Debian 7 (Wheezy) and includes the PHP interpreter along with additional modules and libraries. This vulnerability affects the file utility, which is embedded in PHP and is responsible for checking ELF files. ELF (Executable and Linkable Format) is a common binary format used for executables, shared libraries, and object files in Unix-like systems. The vulnerability allows attackers to cause a denial of service by supplying a specially crafted ELF file, leading to an out-of-bounds read and application crash.

Vulnerability Detail

The vulnerability in the php5 package arises from incorrect checking of note headers in ELF files. By exploiting this flaw, an attacker can supply a specially crafted ELF file that triggers an out-of-bounds read, resulting in a denial of service and application crash. This vulnerability can potentially be exploited remotely, allowing an attacker to disrupt the functionality of systems running the affected version of php5. It is important to note that this vulnerability does not allow arbitrary code execution or privilege escalation.

How To Fix

Minimum fixed version

5.4.35-0+deb7u2

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 is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to follow secure coding practices and avoid processing untrusted or malicious files. Additionally, implementing proper input validation and sanitization can help mitigate the risk of similar vulnerabilities.

Conclusion

The php5 package in Debian 7 (Wheezy) is vulnerable to a denial of service issue caused by incorrect checking of ELF file headers. Upgrading to version 5.4.35-0+deb7u1 or later resolves this vulnerability by addressing the issue in the PHP interpreter. It is important to promptly apply the necessary updates to ensure the security and stability of systems running the php5 package. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for php5 →

Share this vulnerability

FAQ

The vulnerability allows attackers to cause a denial of service by supplying a specially crafted ELF file, leading to an out-of-bounds read and application crash. This can disrupt the functionality of systems running the affected version of php5.

Yes, this vulnerability can be exploited remotely by an attacker who can supply a specially crafted ELF file to the affected system.

No, this vulnerability does not allow arbitrary code execution or privilege escalation. It only leads to a denial of service by causing an out-of-bounds read and application crash.

There is no specific information provided about known exploits for this vulnerability. However, it is always advisable to apply security patches and updates promptly to mitigate the risk of exploitation.

If you are using the php5 package on Debian 7 (Wheezy), it is recommended to upgrade to version 5.4.35-0+deb7u1 or later. Follow the official documentation and guidelines provided by Debian for package upgrades.

Related vulnerabilities

Recent vulnerabilities recorded for php5.

How To Fix

Minimum fixed version

5.4.35-0+deb7u2

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