First published: Fri Jan 14 2022(Updated: )
GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory resources.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU GCC | =12.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-46195 is a vulnerability in GCC v12.0 that allows for uncontrolled recursion, leading to a Denial of Service attack.
The vulnerability in GCC v12.0 manifests as uncontrolled recursion in the libiberty/rust-demangle.c component, which can result in excessive consumption of CPU and memory resources.
CVE-2021-46195 has a severity rating of medium, with a CVSS score of 5.5.
CVE-2021-46195 can be exploited by attackers to cause a Denial of Service (DoS) by overwhelming the system with excessive CPU and memory usage.
At the moment, there is no official fix available for CVE-2021-46195. It is recommended to apply security patches or updates provided by the vendor when they become available.