Critical Vulnerability in PHP Packages: CVE-2025-1734

php5 Updated 14 Dec 2025

Summary

14/03/2025
N/A
No i
Medium
6.3

UBUNTU-CVE-2025-1734: In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when receiving headers from HTTP server, the headers missing a colon (:) are treated as valid headers even tho... Affects php5 versions 5.5.3+dfsg-1ubuntu2 – 5.5.9+dfsg-1ubuntu4.9. No fix is published. 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 designed for web development but also used as a general-purpose programming language. It is known for its flexibility, ease of use, and extensive community support. The affected packages include various versions of PHP (5.5, 7.0, 7.2, 7.4, 8.1, 8.3, and 8.4) that are integral for running dynamic web applications. This vulnerability allows invalid HTTP headers to be accepted, potentially leading to security issues in applications relying on PHP.

Vulnerability Detail

In PHP versions 8.1.* before 8.1.32, 8.2.* before 8.2.28, 8.3.* before 8.3.19, and 8.4.* before 8.4.5, there exists a vulnerability where headers received from an HTTP server that are missing a colon (:) are incorrectly treated as valid headers. This flaw can mislead applications into accepting invalid headers, which may lead to unexpected behavior or security breaches, such as header injection attacks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation on the server-side to check for valid headers before processing them. This can help mitigate the risk of accepting invalid headers until the packages are updated.

Conclusion

The CVE-2025-1734 vulnerability poses a significant risk to applications using affected PHP versions by allowing invalid HTTP headers to be processed. It is essential to update to the latest patched versions of PHP to mitigate this risk and ensure the security of your applications.

See every vulnerability recorded for php5 →

Share this vulnerability

FAQ

CVE-2025-1734 is a vulnerability in various PHP versions that allows invalid HTTP headers to be accepted, potentially leading to security issues.

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

The risks include potential header injection attacks, which can lead to unauthorized access or manipulation of application behavior.

Yes, patched versions of the affected PHP packages are available. It is recommended to update to the latest versions to mitigate the vulnerability.

If immediate updates are not possible, implement server-side validation for HTTP headers as a temporary workaround to reduce risk.

Related vulnerabilities

Recent vulnerabilities recorded for php5.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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