Moderate Vulnerability in GCC Packages: Untrusted Code Execution Risk

cpp Updated 02 Oct 2025

Summary

12/02/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:1346: Moderate: gcc security update. Affects cpp versions < 11.5.0-5.el9_5.alma.1. Fixed in 11.5.0-5.el9_5.alma.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The GCC (GNU Compiler Collection) packages are essential tools for compiling various programming languages, including C, C++, Java, Fortran, Objective C, and Ada 95. These packages provide the necessary compilers and support libraries that developers rely on to build and maintain software applications. The recent vulnerability identified in the GCC packages pertains to untrusted code execution via the <option> tag in HTML, which can be exploited through DOM manipulation methods, posing a significant security risk to applications utilizing these compilers.

Vulnerability Detail

The vulnerability arises from the way the GCC packages handle HTML content, specifically through the <option> tag. Attackers can exploit this flaw to execute untrusted code, potentially leading to unauthorized access or manipulation of sensitive data within applications. The vulnerability is cataloged under CVE-2020-11023, indicating its recognized status within the cybersecurity community. The ramifications of this vulnerability can be severe, as it may allow attackers to execute arbitrary code in the context of the user’s session, leading to data breaches or system compromise.

How To Fix

Minimum fixed version

11.5.0-5.el9_5.alma.1

This is the first release that contains the fix.

sudo dnf update cpp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider implementing input validation and sanitization for HTML content processed by your applications. This can help mitigate the risk of untrusted code execution until the packages can be updated.

Conclusion

The GCC security update addresses a moderate vulnerability that could allow untrusted code execution through HTML manipulation. It is essential for developers to update their GCC packages to the latest patched version to mitigate this risk. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for cpp →

Share this vulnerability

FAQ

The vulnerability allows for untrusted code execution via the <option> tag in HTML, which can be exploited through DOM manipulation methods.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Exploitation of this vulnerability can lead to unauthorized code execution, data breaches, and potential system compromise.

Yes, the patched version is 11.5.0-5.el9_5.alma.1 for the AlmaLinux ecosystem.

Implement input validation and sanitization for HTML content in your applications to reduce the risk of exploitation until you can apply the update.

Related vulnerabilities

Recent vulnerabilities recorded for cpp.

How To Fix

Minimum fixed version

11.5.0-5.el9_5.alma.1

This is the first release that contains the fix.

sudo dnf update cpp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback