Uncontrolled Recursion Affecting gcc-12 package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.95% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-GCC12-11743559
  • published10 Aug 2025
  • disclosed26 Mar 2022

Introduced: 26 Mar 2022

CVE-2022-27943  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for Debian:14 gcc-12.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gcc-12 package and not the gcc-12 package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.

CVSS Base Scores

version 3.1