CVE-2025-46420 Libsoup: memory leak on soup_header_parse_quality_list() via soup-headers.c
Attackers can cause memory exhaustion and denial of service by sending crafted HTTP headers with zero-quality values to applications using libsoup.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-46420?
CVE-2025-46420 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 24 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A flaw was found in libsoup. It is vulnerable to memory leaks in the soup_header_parse_quality_list() function when parsing a quality list that contains elements with all zeroes.
Weakness: CWE-401
Which versions are affected by CVE-2025-46420?
How do I fix CVE-2025-46420?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-46420 being exploited?
There is no known exploitation of CVE-2025-46420 in the wild and no public exploit code.
Sources
Also known as AZL-61567, AZL-61615, DEBIAN-CVE-2025-46420, GHSA-pv37-78jj-hvqv, UBUNTU-CVE-2025-46420.