CVE-2015-5276 Weak cryptography in n/a

Medium 5.0 Published Updated

Attackers can predict random values generated by libstdc++ due to improper handling of short reads, potentially compromising cryptographic security.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5276?

CVE-2015-5276 is a medium-severity vulnerability in n/a, published on 17 Nov 2015.

Official description

The std::random_device class in libstdc++ in the GNU Compiler Collection (aka GCC) before 4.9.4 does not properly handle short reads from blocking sources, which makes it easier for context-dependent attackers to predict the random values via unspecified vectors.

Weakness: CWE-200

Which versions are affected by CVE-2015-5276?

It affects 1 product.

Linux distribution packages (34)
gcc5 SUSE:Linux Enterprise Desktop 11 SP4All versions5.3.1+r233831-10.1
gcc48 SUSE:Linux Enterprise Desktop 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Desktop 12All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Desktop 12All versions5.3.1+r233831-9.1
libgcj48 SUSE:Linux Enterprise Desktop 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Desktop 12 SP1All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Desktop 12 SP1All versions5.3.1+r233831-9.1
gcc5 SUSE:Linux Enterprise Module for Toolchain 12All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Module for Toolchain 12All versions5.3.1+r233831-9.1
gcc5 SUSE:Linux Enterprise Server 11 SP4All versions5.3.1+r233831-10.1
libffi-gcc5 SUSE:Linux Enterprise Server 11 SP4All versions5.3.1+r233831-10.1
gcc48 SUSE:Linux Enterprise Server 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Server 12All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Server 12All versions5.3.1+r233831-9.1
libffi48 SUSE:Linux Enterprise Server 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Server 12 SP1All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Server 12 SP1All versions5.3.1+r233831-9.1
gcc5 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.3.1+r233831-10.1
libffi-gcc5 SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions5.3.1+r233831-10.1
gcc48 SUSE:Linux Enterprise Server for SAP Applications 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Server for SAP Applications 12All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Server for SAP Applications 12All versions5.3.1+r233831-9.1
libffi48 SUSE:Linux Enterprise Server for SAP Applications 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions5.3.1+r233831-9.1
libffi-gcc5 SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions5.3.1+r233831-9.1
gcc48 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions4.8.5-4.2
gcc5 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.3.1+r233831-10.1
libffi-gcc5 SUSE:Linux Enterprise Software Development Kit 11 SP4All versions5.3.1+r233831-10.1
gcc48 SUSE:Linux Enterprise Software Development Kit 12All versions4.8.5-24.1
libffi48 SUSE:Linux Enterprise Software Development Kit 12All versions4.8.5-24.1
libgcj48 SUSE:Linux Enterprise Software Development Kit 12All versions4.8.5-24.1
gcc5 SUSE:Linux Enterprise Software Development Kit 12 SP1All versions5.3.1+r233831-9.1
libgcj48 SUSE:Linux Enterprise Workstation Extension 12All versions4.8.5-24.1
gcc5 openSUSE:TumbleweedAll versions5.4.1+r240125-1.5

Products include Gnu Gcc.

How do I fix CVE-2015-5276?

Upgrade to a fixed version.

Is CVE-2015-5276 being exploited?

There is no known exploitation of CVE-2015-5276 in the wild and no public exploit code.

Sources

Also known as GHSA-rq8f-f9q7-5x24, MGASA-2015-0449, SUSE-SU-2015:1833-1, SUSE-SU-2016:0908-2, SUSE-SU-2016:0963-1, SUSE-SU-2017:0379-1 and 2 more.

Is CVE-2015-5276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free