Denial of Service Vulnerability in php5 Package - CVE-2018-19158

php5 Updated 02 Oct 2025

Summary

21/03/2019
N/A
Yes i
High
7.5

ALPINE-CVE-2018-19158: ColossusCoinXT through 1.0.5 (a chain-based proof-of-stake cryptocurrency) allows a remote denial of service, exploitable by an attacker who acquires even a small amount of stake/coins in the system. Affects php5 versions < 5.6.39-r0. Fixed in 5.6.39-r0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The php5 package in Alpine Linux is a widely used implementation of the PHP programming language, which is essential for web development and server-side scripting. This package allows developers to create dynamic web applications and is integral to many web servers. However, vulnerabilities in this package can lead to severe security issues, including denial of service attacks that can disrupt service availability.

Vulnerability Detail

CVE-2018-19158 is a vulnerability found in ColossusCoinXT versions up to 1.0.5, which is a chain-based proof-of-stake cryptocurrency. This vulnerability allows an attacker, who acquires even a small amount of stake or coins, to send invalid headers or blocks to a victim's node. These invalid entries are stored on the victim's disk, leading to a denial of service condition. The potential ramifications include service disruption and loss of availability for users relying on the affected system.

How To Fix

Minimum fixed version

5.6.39-r0

This is the first release that contains the fix.

sudo apk add --upgrade php5

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

Workaround

As a temporary workaround, you can limit the exposure of your system by implementing network-level controls to filter out invalid headers and blocks. However, this is not a permanent solution and updating the package is strongly advised.

Conclusion

The CVE-2018-19158 vulnerability in the php5 package poses a significant risk of denial of service attacks. It is crucial for users to update to the patched version to mitigate this risk. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for php5 →

Share this vulnerability

FAQ

CVE-2018-19158 is a vulnerability that allows for a remote denial of service attack in the php5 package of Alpine Linux.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring installation.

The main consequence is a denial of service, which can disrupt the availability of services relying on the php5 package.

Yes, the patch is available in version 5.6.39-r0 of the php5 package. Updating to this version will resolve the vulnerability.

Vulert is a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. It provides real-time alerts without requiring access to the code.

Related vulnerabilities

Recent vulnerabilities recorded for php5.

How To Fix

Minimum fixed version

5.6.39-r0

This is the first release that contains the fix.

sudo apk add --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