Integer Overflow or Wraparound Affecting libstdc++ package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.12% (32nd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-LIBSTDC-1998293
  • published26 Jul 2021
  • disclosed27 Dec 2018

Introduced: 27 Dec 2018

CVE-2018-20673  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 libstdc++.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libstdc++ package and not the libstdc++ package as distributed by Centos. See How to fix? for Centos:6 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.