CVE Vulnerabilities

CVE-2025-11021

Out-of-bounds Read

Published: Sep 26, 2025 | Modified: Nov 19, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

A flaw was found in the cookie date handling logic of the libsoup HTTP library, widely used by GNOME and other applications for web communication. When processing cookies with specially crafted expiration dates, the library may perform an out-of-bounds memory read. This flaw could result in unintended disclosure of memory contents, potentially exposing sensitive information from the process using libsoup.

Weakness

The product reads data past the end, or before the beginning, of the intended buffer.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 10 RedHat libsoup3-0:3.6.5-3.el10_0.7 *
Red Hat Enterprise Linux 10 RedHat libsoup3-0:3.6.5-3.el10_1.6 *
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat libsoup-0:2.62.2-9.el7_9 *
Red Hat Enterprise Linux 8 RedHat libsoup-0:2.62.3-10.el8_10 *
Red Hat Enterprise Linux 8 RedHat libsoup-0:2.62.3-10.el8_10 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat libsoup-0:2.62.3-2.el8_4.6 *
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On RedHat libsoup-0:2.62.3-2.el8_4.6 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat libsoup-0:2.62.3-2.el8_6.6 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat libsoup-0:2.62.3-2.el8_6.6 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat libsoup-0:2.62.3-2.el8_6.6 *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat libsoup-0:2.62.3-3.el8_8.6 *
Red Hat Enterprise Linux 9 RedHat libsoup-0:2.72.0-10.el9_6.3 *
Red Hat Enterprise Linux 9 RedHat libsoup-0:2.72.0-12.el9_7.1 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat libsoup-0:2.72.0-8.el9_0.6 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat libsoup-0:2.72.0-8.el9_2.6 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libsoup-0:2.72.0-8.el9_4.6 *
Libsoup2.4 Ubuntu devel *
Libsoup2.4 Ubuntu esm-infra/bionic *
Libsoup2.4 Ubuntu esm-infra/focal *
Libsoup2.4 Ubuntu esm-infra/xenial *
Libsoup2.4 Ubuntu jammy *
Libsoup2.4 Ubuntu noble *
Libsoup2.4 Ubuntu plucky *
Libsoup2.4 Ubuntu questing *
Libsoup3 Ubuntu devel *
Libsoup3 Ubuntu esm-apps/jammy *
Libsoup3 Ubuntu jammy *
Libsoup3 Ubuntu noble *
Libsoup3 Ubuntu plucky *
Libsoup3 Ubuntu questing *

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
  • To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.

References