cve.bz

CVE-2025-46420 Libsoup: memory leak on soup_header_parse_quality_list() via soup-headers.c

6.5 mediumEPSS 0.6%Fix available

Medium (6.5) in red hat. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.62.3-8.el8_10
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:2.62.3-1.el8_2.4
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:2.62.3-2.el8_4.4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:2.62.3-2.el8_4.4
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: fixed in 0:2.62.3-2.el8_4.4
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:2.62.3-2.el8_6.4
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 0:2.62.3-2.el8_6.4
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 0:2.62.3-2.el8_6.4
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-46420 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-46420?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-46420?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-46420 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libsoupbefore 3.6.3

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:2.62.3-8.el8_10
Red Hat Enterprise Linux 8.2 Advanced Update Support0:2.62.3-1.el8_2.4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.62.3-2.el8_4.4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:2.62.3-2.el8_4.4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:2.62.3-2.el8_4.4
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.62.3-2.el8_6.4
Red Hat Enterprise Linux 8.6 Telecommunications Update Service0:2.62.3-2.el8_6.4
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:2.62.3-2.el8_6.4
Red Hat Enterprise Linux 8.8 Extended Update Support0:2.62.3-3.el8_8.4
Red Hat Enterprise Linux 90:2.72.0-10.el9_6.1
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:2.72.0-8.el9_0.4
Red Hat Enterprise Linux 9.2 Extended Update Support0:2.72.0-8.el9_2.4
Red Hat Enterprise Linux 9.4 Extended Update Support0:2.72.0-8.el9_4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libsoup2.4no fix listedDEBIAN-CVE-2025-46420
Debian12libsoup33.2.3-0+deb12u1DEBIAN-CVE-2025-46420
Debian13libsoup2.42.74.3-10.1DEBIAN-CVE-2025-46420
Debian13libsoup33.6.4-1DEBIAN-CVE-2025-46420
Ubuntu20.04:LTSlibsoup2.42.70.0-1ubuntu0.3UBUNTU-CVE-2025-46420 USN-7490-1
Ubuntu22.04:LTSlibsoup2.42.74.2-3ubuntu0.3UBUNTU-CVE-2025-46420 USN-7490-1
Ubuntu24.04:LTSlibsoup2.42.74.3-6ubuntu1.3UBUNTU-CVE-2025-46420 USN-7490-1
Ubuntu24.04:LTSlibsoup33.4.4-5ubuntu0.3UBUNTU-CVE-2025-46420 USN-7490-3
UbuntuPro:16.04:LTSlibsoup2.42.52.2-1ubuntu0.3+esm1UBUNTU-CVE-2025-46420 USN-7490-1
UbuntuPro:18.04:LTSlibsoup2.42.62.1-1ubuntu0.4+esm2UBUNTU-CVE-2025-46420 USN-7490-1
UbuntuPro:22.04:LTSlibsoup33.0.7-0ubuntu1+esm3UBUNTU-CVE-2025-46420 USN-7490-3
Red Hatenterprise_linux:8::appstreamlibsoup-devel, libsoup-debuginfo, libsoup-debugsource0:2.62.3-8.el8_10RHSA-2025:4560
Red Hatenterprise_linux:8::baseoslibsoup, libsoup-debuginfo, libsoup-debugsource0:2.62.3-8.el8_10RHSA-2025:4560
Red Hatenterprise_linux:9::appstreamlibsoup, libsoup-devel, libsoup-debuginfo and 1 more0:2.72.0-10.el9_6.1RHSA-2025:7436
Red Hatrhel_aus:8.2::appstreamlibsoup-devel, libsoup-debuginfo, libsoup-debugsource0:2.62.3-1.el8_2.4RHSA-2025:4538
Red Hatrhel_aus:8.2::baseoslibsoup, libsoup-debuginfo, libsoup-debugsource0:2.62.3-1.el8_2.4RHSA-2025:4538
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamlibsoup-devel, libsoup-debuginfo, libsoup-debugsource0:2.62.3-2.el8_4.4RHSA-2025:4609
Red Hatrhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseoslibsoup, libsoup-debuginfo, libsoup-debugsource0:2.62.3-2.el8_4.4RHSA-2025:4609
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamlibsoup-devel, libsoup-debuginfo, libsoup-debugsource0:2.62.3-2.el8_6.4RHSA-2025:4624
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseoslibsoup, libsoup-debuginfo, libsoup-debugsource0:2.62.3-2.el8_6.4RHSA-2025:4624
Red Hatrhel_e4s:9.0::appstreamlibsoup, libsoup-devel, libsoup-debuginfo and 1 more0:2.72.0-8.el9_0.4RHSA-2025:4439
Red Hatrhel_eus:8.8::appstreamlibsoup-devel, libsoup-debuginfo, libsoup-debugsource0:2.62.3-3.el8_8.4RHSA-2025:4568
Red Hatrhel_eus:8.8::baseoslibsoup, libsoup-debuginfo, libsoup-debugsource0:2.62.3-3.el8_8.4RHSA-2025:4568
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morelibsoup2.68.4-150200.4.6.1SUSE-SU-2025:1519-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morelibsoup22.74.3-150400.3.40.1SUSE-SU-2026:3936-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 morelibsoup22.74.2-150400.3.6.1SUSE-SU-2025:1509-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 morelibsoup3.0.4-150400.3.7.1SUSE-SU-2025:1510-1
SUSELinux Enterprise Module for Basesystem 15 SP6libsoup3.4.4-150600.3.7.1SUSE-SU-2025:1504-1
SUSELinux Enterprise Module for Basesystem 15 SP6libsoup22.74.3-150600.4.6.1SUSE-SU-2025:1503-1
SUSELinux Enterprise Module for Basesystem 15 SP7libsoup3.4.4-150600.3.7.1SUSE-SU-2025:01504-1
SUSELinux Enterprise Module for Basesystem 15 SP7libsoup22.74.3-150600.4.6.1SUSE-SU-2025:01503-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libsoup2.62.2-5.12.1SUSE-SU-2025:1518-1
SUSELinux Micro 6.0libsoup3.4.2-6.1SUSE-SU-2025:20375-1
SUSELinux Micro 6.1libsoup3.4.4-slfo.1.1_3.1SUSE-SU-2025:20446-1
openSUSELeap 15.6libsoup3.4.4-150600.3.7.1SUSE-SU-2025:1504-1
openSUSELeap 15.6libsoup22.74.3-150600.4.6.1SUSE-SU-2025:1503-1
openSUSETumbleweedlibsoup22.74.3-9.1openSUSE-SU-2025:15044-1
AlmaLinux8libsoup, libsoup-devel2.62.3-8.el8_10ALSA-2025:4560
AlmaLinux9libsoup, libsoup-devel2.72.0-10.el9_6.1ALSA-2025:7436
Rocky Linux8libsoup0:2.62.3-8.el8_10RLSA-2025:4560
Azure Linux2libsoup3.0.4-6AZL-61567
Azure Linux3libsoup3.4.4-6AZL-61615

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate impact memory leak flaw was found in libsoup. When the soup_header_parse_quality_list() function in soup-headers.c parses a quality list in which any element's quality value consists entirely of zeroes (for example q=0, q=0.0, or q=0.000), the parsed elements are not freed and memory is leaked in proportion to the size of the crafted values, which may carry a large number of trailing zeroes. A remote attacker able to have an application using libsoup parse such crafted HTTP quality-list headers could trigger this leak repeatedly, eventually exhausting available memory and causing a denial of service. The affected libsoup packages ship in Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9, where fixes have been delivered through the respective update streams, and in Red Hat In-Vehicle OS, where the fix is being pursued through the platform's update process. Red Hat Enterprise Linux 10 ships libsoup3, which does not contain the vulnerable code and is therefore not affected. The Red Hat severity rating (Moderate, CVSS 6.5) is consistent with the upstream rating.

Red Hat's mitigation

Currently, no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libsoup-0:2.62.3-8.el8_10Fixed 2025-05-06RHSA-2025:4560
Red Hat Enterprise Linux 8.2 Advanced Update Supportlibsoup-0:2.62.3-1.el8_2.4Fixed 2025-05-06RHSA-2025:4538
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibsoup-0:2.62.3-2.el8_4.4Fixed 2025-05-07RHSA-2025:4609
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicelibsoup-0:2.62.3-2.el8_4.4Fixed 2025-05-07RHSA-2025:4609
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionslibsoup-0:2.62.3-2.el8_4.4Fixed 2025-05-07RHSA-2025:4609
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibsoup-0:2.62.3-2.el8_6.4Fixed 2025-05-07RHSA-2025:4624
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicelibsoup-0:2.62.3-2.el8_6.4Fixed 2025-05-07RHSA-2025:4624
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionslibsoup-0:2.62.3-2.el8_6.4Fixed 2025-05-07RHSA-2025:4624
Red Hat Enterprise Linux 8.8 Extended Update Supportlibsoup-0:2.62.3-3.el8_8.4Fixed 2025-05-06RHSA-2025:4568
Red Hat Enterprise Linux 9libsoup-0:2.72.0-10.el9_6.1Fixed 2025-05-13RHSA-2025:7436
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibsoup-0:2.72.0-8.el9_0.4Fixed 2025-05-05RHSA-2025:4439
Red Hat Enterprise Linux 9.2 Extended Update Supportlibsoup-0:2.72.0-8.el9_2.4Fixed 2025-05-06RHSA-2025:4508
Red Hat Enterprise Linux 9.4 Extended Update Supportlibsoup-0:2.72.0-8.el9_4.4Fixed 2025-05-05RHSA-2025:4440
Red Hat Enterprise Linux 10libsoup3Not affected
Red Hat Enterprise Linux 6libsoupOut of support scope
Red Hat Enterprise Linux 7libsoupOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-46420.

References

Check your stackJSON