Every CVE Search/ Get API key

CVE-2020-35357

A buffer overflow can occur when calculating the quantile value using the Statistics Library of...

6.5 MediumFix available

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.97%Up 0.9 points since Aug 23, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
CVE-2020-35357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-120
Updated
2026-11-02
CVE List No score

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
CVE-2020-35357
Updated
2026-11-02
EUVDEUVD-2020-23033 No score

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
EUVD-2020-23033
Updated
2026-11-03
GitHub AdvisoriesGHSA-xp4h-43w8-c7qr 9.8

A buffer overflow can occur when calculating the quantile value using the Statistics Library of...

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
GHSA-xp4h-43w8-c7qr
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
OSVAZL-43711 6.5

CVE-2020-35357 affecting package gsl 2.6-3

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
AZL-43711
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-45111 6.5

CVE-2020-35357 affecting package gsl for versions less than 2.8-1

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
AZL-45111
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSV 6.5

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
CVE-2020-35357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-06
OSVDEBIAN-CVE-2020-35357 6.5

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
DEBIAN-CVE-2020-35357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-35357 6.5

A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.

Record
UBUNTU-CVE-2020-35357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2023:3527-1 No score

Security update for gsl

This update for gsl fixes the following issues:

  • CVE-2020-35357: Fixed a stack out of bounds read in gsl_stats_quantile_from_sorted_data(). (bsc#1214681)
Record
SUSE-SU-2023:3527-1
Updated
2026-11-02
OSVSUSE-SU-2023:3858-1 No score

Security update for gsl

This update for gsl fixes the following issues:

  • CVE-2020-35357: Fixed a stack out of bounds read in gsl_stats_quantile_from_sorted_data(). (bsc#1214681)
Record
SUSE-SU-2023:3858-1
Updated
2026-11-02
OSVSUSE-SU-2023:4051-1 No score

Security update for gsl

This update for gsl fixes the following issues:

  • CVE-2020-35357: Fixed a stack out of bounds read in gsl_stats_quantile_from_sorted_data(). (bsc#1214681)
Record
SUSE-SU-2023:4051-1
Updated
2026-11-02
OSVUSN-6472-1 No score

gsl vulnerability

It was discovered that GNU Scientific Library incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code.

Record
USN-6472-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gsl
Azure Linux:2
through 2.6-3 None known
gsl
Azure Linux:3
before 2.8-1
2.8-1
gsl
Debian:12
before 2.7.1+dfsg-5+deb12u1, plus listed versions
2.7.1+dfsg-5
2.7.1+dfsg-5+deb12u1
gsl
Debian:13
before 2.7.1+dfsg-6
2.7.1+dfsg-6
gsl
Debian:14
before 2.7.1+dfsg-6
2.7.1+dfsg-6
gsl
Debian:10
before 2.5+dfsg-6+deb10u1, plus listed versions
2.5+dfsg-6
2.5+dfsg-6+deb10u1
gsl
Debian:11
before 2.6+dfsg-2+deb11u1, plus listed versions
2.6+dfsg-2
2.6+dfsg-2+deb11u1
gsl
SUSE:Linux Enterprise Workstation Extension 15 SP4
before 2.4-150100.9.4.1
2.4-150100.9.4.1
gsl
SUSE:Linux Enterprise Workstation Extension 15 SP5
before 2.4-150100.9.4.1
2.4-150100.9.4.1
gsl
openSUSE:Leap 15.4
before 2.4-150100.9.4.1
2.4-150100.9.4.1
Show 16 moreShow less
Affected packages
PackageAffectedFixed
gsl_2_4-gnu-hpc
openSUSE:Leap 15.4
before 2.4-150100.9.4.1
2.4-150100.9.4.1
gsl_2_4-gnu-hpc
openSUSE:Leap 15.5
before 2.4-150100.9.4.1
2.4-150100.9.4.1
gsl
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
SUSE:Linux Enterprise Module for Desktop Applications 15 SP5
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
SUSE:Linux Enterprise Module for Package Hub 15 SP4
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
SUSE:Linux Enterprise Module for Package Hub 15 SP5
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
openSUSE:Leap 15.4
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl_2_6-gnu-hpc
openSUSE:Leap 15.4
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
openSUSE:Leap 15.5
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl_2_6-gnu-hpc
openSUSE:Leap 15.5
before 2.6-150200.3.4.3
2.6-150200.3.4.3
gsl
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.16-5.4.1
1.16-5.4.1
gsl
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 1.16-5.4.1
1.16-5.4.1
gsl
Ubuntu:Pro:16.04:LTS
before 2.1+dfsg-2ubuntu0.1~esm1, plus listed versions
1.16+dfsg-42.0+dfsg-1ubuntu12.1+dfsg-2
2.1+dfsg-2ubuntu0.1~esm1
gsl
Ubuntu:Pro:18.04:LTS
before 2.4+dfsg-6ubuntu0.1~esm1, plus listed versions
2.4+dfsg-6
2.4+dfsg-6ubuntu0.1~esm1
gsl
Ubuntu:20.04:LTS
before 2.5+dfsg-6+deb10u1build0.20.04.1, plus listed versions
2.5+dfsg-62.5+dfsg-6build1
2.5+dfsg-6+deb10u1build0.20.04.1
gsl
Ubuntu:Pro:22.04:LTS
before 2.7.1+dfsg-3ubuntu0.22.04.1~esm1, plus listed versions
2.6+dfsg-22.7.1+dfsg-3
2.7.1+dfsg-3ubuntu0.22.04.1~esm1

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35357 is a medium vulnerability (CVSS 6.5) in Gnu Scientific Library, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 61st percentile. Fixed in gsl 2.8-1.

References

Show 9 moreShow less
MoveEnter Open