Security Update for php5

php5 Updated 02 Oct 2025

Summary

28/03/2017
N/A
Yes i
Unrated
Not published

DLA-875-1: php5 - security update. Affects php5 versions < 5.4.45-0+deb7u8. Fixed in 5.4.45-0+deb7u8. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

php5 is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is commonly used to build dynamic websites and applications.

Vulnerability Detail

The security update addresses several vulnerabilities in php5:

  1. CVE-2016-7478: This vulnerability allows remote attackers to cause a denial of service (infinite loop) by sending a crafted Exception object in serialized data.

  2. CVE-2016-7479: During the unserialization process, resizing the properties hash table of a serialized object may lead to use-after-free, allowing a remote attacker to execute arbitrary code.

  3. CVE-2017-7272: The fsockopen() function in php5 uses the port number defined in the hostname instead of the port number passed as a parameter. This can introduce a new attack vector for known vulnerabilities like Server Side Request Forgery (SSRF).

How To Fix

Minimum fixed version

5.4.45-0+deb7u8

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 these vulnerabilities.

Conclusion

It is crucial to keep your php5 packages up to date to protect against these vulnerabilities. Upgrade to version 5.4.45-0+deb7u8 or later to ensure the security of your web applications and prevent potential attacks.

See every vulnerability recorded for php5 →

Share this vulnerability

FAQ

php5 is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

CVE-2016-7478 is a vulnerability in php5 that allows remote attackers to cause a denial of service (infinite loop) by sending a crafted Exception object in serialized data.

CVE-2016-7479 is a vulnerability in php5 that allows a remote attacker to execute arbitrary code by exploiting a use-after-free issue during the unserialization process.

CVE-2017-7272 is a vulnerability in php5 that can introduce a new attack vector for known vulnerabilities like Server Side Request Forgery (SSRF) by misbehaving the fsockopen() function.

To fix these vulnerabilities, it is recommended to upgrade your php5 packages to version 5.4.45-0+deb7u8 or later. You can do this by running the package manager update command specific to your operating system.

Related vulnerabilities

Recent vulnerabilities recorded for php5.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.4.45-0+deb7u8

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