CVE Vulnerabilities

CVE-2025-46420

Missing Release of Memory after Effective Lifetime

Published: Apr 24, 2025 | Modified: May 07, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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

The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 8 RedHat libsoup-0:2.62.3-8.el8_10 *
Red Hat Enterprise Linux 8 RedHat libsoup-0:2.62.3-8.el8_10 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat libsoup-0:2.62.3-1.el8_2.4 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat libsoup-0:2.62.3-2.el8_4.4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat libsoup-0:2.62.3-2.el8_4.4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat libsoup-0:2.62.3-2.el8_4.4 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat libsoup-0:2.62.3-2.el8_6.4 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat libsoup-0:2.62.3-2.el8_6.4 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat libsoup-0:2.62.3-2.el8_6.4 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat libsoup-0:2.62.3-3.el8_8.4 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat libsoup-0:2.72.0-8.el9_0.4 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat libsoup-0:2.72.0-8.el9_2.4 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libsoup-0:2.72.0-8.el9_4.4 *
Libsoup2.4 Ubuntu esm-infra/bionic *
Libsoup2.4 Ubuntu esm-infra/xenial *
Libsoup2.4 Ubuntu focal *
Libsoup2.4 Ubuntu jammy *
Libsoup2.4 Ubuntu noble *
Libsoup2.4 Ubuntu oracular *
Libsoup2.4 Ubuntu plucky *
Libsoup3 Ubuntu esm-apps/jammy *
Libsoup3 Ubuntu noble *
Libsoup3 Ubuntu oracular *
Libsoup3 Ubuntu upstream *

Potential Mitigations

  • Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone.
  • For example, glibc in Linux provides protection against free of invalid pointers.
  • When using Xcode to target OS X or iOS, enable automatic reference counting (ARC) [REF-391].
  • To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std::auto_ptr (defined by ISO/IEC ISO/IEC 14882:2003), std::shared_ptr and std::unique_ptr (specified by an upcoming revision of the C++ standard, informally referred to as C++ 1x), or equivalent solutions such as Boost.

References