CVE Vulnerabilities

CVE-2025-49180

Integer Overflow or Wraparound

Published: Jun 17, 2025 | Modified: Dec 09, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A flaw was found in the RandR extension, where the RRChangeProviderProperty function does not properly validate input. This issue leads to an integer overflow when computing the total size to allocate.

Weakness

The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 10RedHatxorg-x11-server-Xwayland-0:24.1.5-4.el10_0*
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRedHattigervnc-0:1.1.0-25.el6_10.1*
Red Hat Enterprise Linux 7.7 Advanced Update SupportRedHattigervnc-0:1.8.0-17.el7_7.1*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatxorg-x11-server-0:1.20.4-32.el7_9*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHattigervnc-0:1.8.0-36.el7_9.2*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-0:1.20.11-26.el8_10*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-Xwayland-0:21.1.3-18.el8_10*
Red Hat Enterprise Linux 8RedHattigervnc-0:1.15.0-7.el8_10*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHattigervnc-0:1.9.0-15.el8_2.14*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatxorg-x11-server-0:1.20.6-4.el8_2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatxorg-x11-server-0:1.20.10-2.el8_4*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHattigervnc-0:1.11.0-8.el8_4.13*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatxorg-x11-server-0:1.20.10-2.el8_4*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHattigervnc-0:1.11.0-8.el8_4.13*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHattigervnc-0:1.12.0-6.el8_6.14*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatxorg-x11-server-0:1.20.11-5.el8_6.3*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHattigervnc-0:1.12.0-6.el8_6.14*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.4*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHattigervnc-0:1.12.0-6.el8_6.14*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.4*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatxorg-x11-server-0:1.20.11-5.el8_6.3*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHattigervnc-0:1.12.0-6.el8_6.14*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.4*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatxorg-x11-server-0:1.20.11-5.el8_6.3*
Red Hat Enterprise Linux 8.8 Extended Update Support Long-Life Add-OnRedHatxorg-x11-server-0:1.20.11-16.el8_8*
Red Hat Enterprise Linux 8.8 Extended Update Support Long-Life Add-OnRedHatxorg-x11-server-Xwayland-0:21.1.3-11.el8_8*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatxorg-x11-server-0:1.20.11-16.el8_8*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHattigervnc-0:1.12.0-15.el8_8.14*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatxorg-x11-server-Xwayland-0:21.1.3-11.el8_8*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatxorg-x11-server-0:1.20.11-16.el8_8*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHattigervnc-0:1.12.0-15.el8_8.14*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatxorg-x11-server-Xwayland-0:21.1.3-11.el8_8*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-0:1.20.11-31.el9_6*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-Xwayland-0:23.2.7-4.el9_6*
Red Hat Enterprise Linux 9RedHattigervnc-0:1.14.1-8.el9_6*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatxorg-x11-server-Xwayland-0:21.1.3-3.el9_0*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatxorg-x11-server-0:1.20.11-11.el9_0*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHattigervnc-0:1.11.0-22.el9_0.15*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatxorg-x11-server-Xwayland-0:21.1.3-8.el9_2*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatxorg-x11-server-0:1.20.11-18.el9_2*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHattigervnc-0:1.12.0-14.el9_2.12*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatxorg-x11-server-Xwayland-0:22.1.9-6.el9_4*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatxorg-x11-server-0:1.20.11-26.el9_4*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHattigervnc-0:1.13.1-8.el9_4.7*
Xorg-serverUbuntudevel*
Xorg-serverUbuntuesm-infra/bionic*
Xorg-serverUbuntuesm-infra/focal*
Xorg-serverUbuntuesm-infra/xenial*
Xorg-serverUbuntujammy*
Xorg-serverUbuntunoble*
Xorg-serverUbuntuoracular*
Xorg-serverUbuntuplucky*
Xorg-serverUbuntuquesting*
Xorg-serverUbuntuupstream*
Xorg-server-hwe-16.04Ubuntuesm-infra/xenial*
Xorg-server-hwe-18.04Ubuntuesm-infra/bionic*
XwaylandUbuntudevel*
XwaylandUbuntujammy*
XwaylandUbuntunoble*
XwaylandUbuntuoracular*
XwaylandUbuntuplucky*
XwaylandUbuntuquesting*
XwaylandUbuntuupstream*

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • If possible, choose a language or compiler that performs automatic bounds checking.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
  • Use libraries or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++). [REF-106]
  • Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range.
  • Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum values.
  • Understand the programming language’s underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, “not-a-number” calculations, and how the language handles numbers that are too large or too small for its underlying representation. [REF-7]
  • Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric representation.

References