ALSA-2021:4587

Type: Security
Severity: Moderate
Published: 2021-11-18
AlmaLinux 8

The gcc packages provide compilers for C, C++, Java, Fortran, Objective C, and Ada 95 GNU, as well as related support libraries. Security Fix(es): * Developer environment: Unicode's bidirectional (BiDi) override characters can cause trojan source attacks (CVE-2021-42574) The following changes were introduced in gcc in order to facilitate detection of BiDi Unicode characters: This update implements a new warning option -Wbidirectional to warn about possibly dangerous bidirectional characters. There are three levels of warning supported by gcc: "-Wbidirectional=unpaired", which warns about improperly terminated BiDi contexts. (This is the default.) "-Wbidirectional=none", which turns the warning off. "-Wbidirectional=any", which warns about any use of bidirectional characters. For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:47:45.650Z UTC

Official vendor advisory

AlmaLinux 8

View source
Observed 2026-11-28T02:47:45.650Z UTC. Last updated 2026-10-02T14:13:39.351Z UTC.

Upstream Advisory

Affected Packages

  • libstdc++-docs 8.5.0-4.el8_5.alma

  • libstdc++-devel 8.5.0-4.el8_5.alma

  • gcc-c++ 8.5.0-4.el8_5.alma

  • gcc-offload-nvptx 8.5.0-4.el8_5.alma

  • gcc-gdb-plugin 8.5.0-4.el8_5.alma

  • gcc-plugin-devel 8.5.0-4.el8_5.alma

  • gcc 8.5.0-4.el8_5.alma

  • libquadmath-devel 8.5.0-4.el8_5.alma

  • libitm-devel 8.5.0-4.el8_5.alma

  • cpp 8.5.0-4.el8_5.alma

  • libstdc++-static 8.5.0-4.el8_5.alma

  • gcc-gfortran 8.5.0-4.el8_5.alma

Interested in being alerted when there are new versions of libstdc++-docs and the other packages? Set up an alert.
ALSA-2021:4587: gcc security update | Package Alert