Integer Overflow or Wraparound Affecting libstdc++ package, versions <0:8.5.0-3.0.2.el8


Severity

Recommended
low

Based on Oracle Linux security rating

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-ORACLE8-LIBSTDC-2595549
  • published 10 Apr 2022
  • disclosed 4 Jan 2019

How to fix?

Upgrade Oracle:8 libstdc++ to version 0:8.5.0-3.0.2.el8 or higher.
This issue was patched in ELSA-2021-4386.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libstdc++ package and not the libstdc++ package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnerability (for "Create an array for saving the template argument values") that can trigger a heap-based buffer overflow, as demonstrated by nm.