Vulnerability in gcc-mingw-w64
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2022-27943 has been found in gcc-mingw-w64.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "gcc-mingw-w64 UBUNTU-CVE-2022-27943" on the vendor's site.
UBUNTU-CVE-2022-27943 (gcc-mingw-w64)
Attack vector: local / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in gcc-mingw-w64.
Check the vendor advisory for the affected versions of gcc-mingw-w64.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'gcc-mingw-w64' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'gcc-mingw-w64' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
gcc-mingw-w64を grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-3.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.7 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.7-armel-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.7-armhf-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.8-arm64-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.8-armhf-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.8-powerpc-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-4.8-ppc64el-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-arm-linux-androideabi |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-i686-linux-android |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-m68hc1x |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-msp430 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-7-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-8-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-7-cross-ports |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-m68hc1x |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-msp430 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-8-cross |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-m68hc1x |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-msp430 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgcc-snapshot |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSbinutils |
< 2.38-4ubuntu2.14→ 2.38-4ubuntu2.14 |
2.38-4ubuntu2.14 |
| Ubuntu:22.04:LTSgcc-11 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-m68hc1x |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-msp430 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgcc-snapshot |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibiberty |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-11 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-11 |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10gcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-11 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgcc-opt |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-11 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-arm-none-eabi |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-avr |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-h8300-hms |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-mingw-w64 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gcc-opt |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report gcc.gnu.org
- report gcc.gnu.org
- report gcc.gnu.org
- report gcc.gnu.org
- report cve.org