Skip to content
Heist/ feed
Back to feed
MediumFix available

gsl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-35357

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.

Products
gsl
Affected versions
2.7.1+dfsg-5
Fixed versions
2.7.1+dfsg-5+deb12u1, 2.7.1+dfsg-6
CVEs
CVE-2020-35357
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:54 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-35357

core-osv · Original source

Published 22 Aug 2023, 19:16 UTC

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.

osv:DEBIAN-CVE-2020-35357

gsl

Fixed versions: 2.7.1+dfsg-5+deb12u1

gsl

Fixed versions: 2.7.1+dfsg-6

gsl

Fixed versions: 2.7.1+dfsg-6

Complete source record
{
  "id": "25f91f8dcdcbecd0e6de879a6d59bc460bd170b59781e936059ef83f7e9d55b0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-35357",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-35357",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-35357",
    "products": [
      {
        "name": {
          "value": "gsl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.7.1+dfsg-5+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.7.1+dfsg-5",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gsl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.7.1+dfsg-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "gsl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.7.1+dfsg-6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-35357",
      "aliases": [
        "DEBIAN-CVE-2020-35357"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.7.1+dfsg-5+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "gsl",
            "purl": "pkg:deb/debian/gsl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.7.1+dfsg-5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.7.1+dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "gsl",
            "purl": "pkg:deb/debian/gsl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.7.1+dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "gsl",
            "purl": "pkg:deb/debian/gsl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35357.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:48.774728747Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-35357"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-35357"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-35357",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452991,
  "published_at": "2023-08-22T19:16:20.167+00:00"
}