Client-Side Desync Vulnerability in Varnish Cache

varnish Updated 02 Oct 2025

Summary

13/05/2025
N/A
Yes i
Unrated
Not published

ALPINE-CVE-2025-47905: Varnish Cache before 7.6.3 and 7.7 before 7.7.1, and Varnish Enterprise before 6.0.13r14, allow client-side desync via HTTP/1 requests, because the product incorrectly permits CRLF to be skipped to delimit chunk boundari... Affects varnish versions < 7.6.3-r0. Fixed in 7.6.3-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 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

Varnish Cache is a powerful HTTP accelerator designed for high-performance web applications. It is widely used to improve the speed and efficiency of web servers by caching content and reducing server load. However, certain versions of Varnish Cache are susceptible to a vulnerability that allows client-side desynchronization through improper handling of HTTP/1 requests.

Vulnerability Detail

The vulnerability, identified as CVE-2025-47905, affects Varnish Cache versions prior to 7.6.3 and 7.7 before 7.7.1. It arises from the product's failure to correctly manage CRLF (Carriage Return Line Feed) sequences, which can be exploited to manipulate chunk boundaries in HTTP/1 requests. This can lead to unexpected behavior, including potential data leakage or denial of service, as the server may misinterpret the structure of incoming requests.

How To Fix

Minimum fixed version

7.6.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade varnish

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

Workaround

As a temporary workaround, you can implement strict input validation on your HTTP requests to mitigate the risk of desynchronization until you can apply the patch. Ensure that your application properly handles CRLF sequences and rejects malformed requests.

Conclusion

The CVE-2025-47905 vulnerability in Varnish Cache poses significant risks to web applications by allowing client-side desynchronization. It is crucial to update to the latest patched versions to safeguard your application against potential exploitation.

See every vulnerability recorded for varnish →

Share this vulnerability

FAQ

CVE-2025-47905 is a vulnerability in Varnish Cache that allows client-side desynchronization due to improper handling of HTTP/1 requests.

Versions of Varnish Cache prior to 7.6.3 and 7.7 before 7.7.1 are affected by this vulnerability.

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

Exploitation of this vulnerability can lead to data leakage, denial of service, or other unexpected behaviors in your web application.

Implement strict input validation on HTTP requests to reject malformed requests and reduce the risk of desynchronization.

Related vulnerabilities

Recent vulnerabilities recorded for varnish.

How To Fix

Minimum fixed version

7.6.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade varnish

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