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.
Also seems to only be in 12.1.0
(In reply to John Helmert III from comment #1)
> Also seems to only be in 12.1.0
And that is gone now.