Critical Security Flaw in libsoup: Duplicate Host Header Handling Vulnerability

libsoup Updated 20 Jan 2026

Summary

12/01/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:0422: Important: libsoup security update. Affects libsoup versions < 2.72.0-12.el9_7.3. Fixed in 2.72.0-12.el9_7.3. 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

libsoup is an HTTP client and server library designed for GNOME, facilitating the development of applications that require web communication. It provides essential functionalities for handling HTTP requests and responses, making it a vital component for many applications within the GNOME ecosystem. However, a recent vulnerability has been identified that affects how the library processes duplicate Host headers, potentially leading to security issues.

Vulnerability Detail

The vulnerability arises from the handling of duplicate Host headers in HTTP requests, where the library may not correctly parse the intended host value. This discrepancy, known as the 'First- vs Last-Value Wins' issue, can lead to unintended behavior, allowing attackers to manipulate requests and potentially redirect traffic or exploit other vulnerabilities in the application. The identified CVE-2025-14523 highlights the severity of this issue, emphasizing the need for immediate attention.

How To Fix

Minimum fixed version

2.72.0-12.el9_7.3

This is the first release that contains the fix.

sudo dnf update libsoup

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

Workaround

As a temporary workaround, consider implementing input validation to ensure that only valid Host headers are processed. This can help mitigate the risk until the package is updated. However, updating to the patched version is strongly recommended for a permanent solution.

Conclusion

The libsoup library has a critical vulnerability related to duplicate Host header handling, which can lead to significant security risks. Updating to the patched version is crucial to ensure the security of applications utilizing this library. Implementing temporary workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for libsoup →

Share this vulnerability

FAQ

The vulnerability can lead to incorrect parsing of Host headers, potentially allowing attackers to manipulate HTTP requests and exploit other vulnerabilities.

You can check if your application is affected by using the Vulert playground, which analyzes your manifest file for known vulnerabilities.

Implement input validation as a temporary workaround to mitigate risks until you can update to the patched version.

Detailed information about the CVE-2025-14523 can be found on the official CVE page, which includes the impact, CVSS score, and acknowledgments.

Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software without requiring access to the code.

Related vulnerabilities

Recent vulnerabilities recorded for libsoup.

How To Fix

Minimum fixed version

2.72.0-12.el9_7.3

This is the first release that contains the fix.

sudo dnf update libsoup

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