CVE-2025-14523: Libsoup: libsoup: duplicate host header handling causes host-parsing discrepancy (first- vs last-value wins)

Published Dec 11, 2025
·
Updated

A flaw in libsoup’s HTTP header handling allows multiple Host: headers in a request and returns the last occurrence for server-side processing. Common front proxies often honor the first Host: header, so this mismatch can cause vhost confusion where a proxy routes a request to one backend but the backend interprets it as destined for another host. This discrepancy enables request-smuggling style attacks, cache poisoning, or bypassing host-based access controls when an attacker supplies duplicate Host headers.

Other sources

libsoup accepts duplicate Host: headers and implements a last-value-wins policy when soupmessageheadersgetone[common] is used to construct the request URI, while many proxies and routers use the first Host: header for routing. The provided PoC reliably demonstrates that a proxy honoring the first Host: can route to backend A but the libsoup server will interpret the request as for host B (last header), enabling virtual-host confusion and potential bypasses of host-based ACLs or cache poisoning.

Red Hat

Affected Software

3 affected components
libsoup/libsoup
Microsoft azl3 libsoup 3.4.4-10
Microsoft cbl2 libsoup 3.0.4-10

Event History

Dec 11, 2025
Data Sourced
via Red Hat·07:35 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·12:30 PM
Data Sourced
via MITRE·12:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Dec 13, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-14523?

The severity of CVE-2025-14523 is classified as medium, due to the potential for vhost confusion in server-side processing.

2

How do I fix CVE-2025-14523?

To fix CVE-2025-14523, update to the latest version of libsoup that addresses the HTTP header handling flaw.

3

What systems are affected by CVE-2025-14523?

CVE-2025-14523 affects versions of libsoup where multiple Host: headers can be processed incorrectly.

4

What risks does CVE-2025-14523 pose?

CVE-2025-14523 poses risks of vhost confusion, potentially leading to improper routing of requests by front proxies.

5

Is CVE-2025-14523 being actively exploited?

As of now, there is no public indication that CVE-2025-14523 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203