Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8927

A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your Brotli library to 1.0.8 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-36846, CVE-2020-8927
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:46 UTC · Revision 1

Source evidence

CVE-2020-8927

core-osv · Original source

Published 15 Sept 2020, 10:15 UTC

A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your Brotli library to 1.0.8 or later. If one cannot update, we recommend to use the "streaming" API as opposed to the "one-shot" API, and impose chunk size limits.

osv:CVE-2020-8927
Complete source record
{
  "id": "1df8bbffa7bf0d6aea52d562100cc3794c7e72584ba895a9d7e2f0c5e288b8cb",
  "url": "https://osv.dev/vulnerability/CVE-2020-8927",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8927",
    "summary": "A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a \"one-shot\" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. It is recommended to update your Brotli library to 1.0.8 or later. If one cannot update, we recommend to use the \"streaming\" API as opposed to the \"one-shot\" API, and impose chunk size limits.",
    "evidence": "osv:CVE-2020-8927",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-8927",
      "aliases": [
        "BIT-brotli-2020-8927",
        "BIT-dotnet-2020-8927",
        "BIT-dotnet-sdk-2020-8927",
        "BIT-powershell-2020-8927",
        "CVE-2020-36846",
        "CVE-2020-8927",
        "GHSA-5v8v-66v8-mwm7",
        "GO-2025-3726",
        "PYSEC-2020-29",
        "RUSTSEC-2021-0131",
        "RUSTSEC-2021-0132"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dotnet/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "62bcac3998e1168f4a34b775a06d6451b5ffca7b"
                },
                {
                  "last_affected": "c01985a0f4aa6036831dae2088fc33d9297a5f08"
                },
                {
                  "introduced": "5c0a0489d157ca82fca6f9b73c682f118e8c4a8a"
                },
                {
                  "last_affected": "5ab95474faeba1ca47e19a83c46b73d1a10b7f77"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0"
                      },
                      {
                        "last_affected": "5.0.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:microsoft:.net_core:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1"
                      },
                      {
                        "last_affected": "3.1.22"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.1",
            "v5.0.13",
            "v3.1.22",
            "v6.0.0",
            "v5.0.12",
            "v3.1.21",
            "v6.0.0-rc.2",
            "v5.0.11",
            "v3.1.20",
            "v6.0.0-rc.1",
            "v5.0.10",
            "v3.1.19",
            "v2.1.30",
            "v2.1.29",
            "v6.0.0-preview.7",
            "v5.0.9",
            "v3.1.18",
            "v6.0.0-preview.6",
            "v5.0.8",
            "v3.1.17",
            "v6.0.0-preview.5",
            "v5.0.7",
            "v3.1.16",
            "v6.0.0-preview.4",
            "v5.0.6",
            "v3.1.15",
            "v3.1.14",
            "v6.0.0-preview.3",
            "v5.0.5",
            "v6.0.0-preview.2",
            "v5.0.4",
            "v3.1.13",
            "v6.0.0-preview.1",
            "v5.0.3",
            "v3.1.12",
            "v2.1.25",
            "v5.0.2",
            "v3.1.11",
            "v2.1.24",
            "v5.0.1",
            "v5.0.0",
            "v3.1.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8927.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/google/brotli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "db361a0bb901d6a71c7cbf1370d97b3703482e3b"
                },
                {
                  "fixed": "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:brotli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.0.9"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.6.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8927.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/powershell/powershell",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b54b188c1804d4dcebb09a8be3a67916abd94fd7"
                },
                {
                  "fixed": "3269c95a72af9a3a161884dbae99eae0352b3e7d"
                },
                {
                  "introduced": "fa01333bfeef5dd7769143e2b4ec7ffdb70c62c8"
                },
                {
                  "fixed": "dc703cb4aa619e31f2f48f2b9bf613e9aa6cff76"
                },
                {
                  "introduced": "bec5c36d9da67bfcf5b88834f03b326c89f100c5"
                },
                {
                  "fixed": "2bbf08166ff49469988420af883407e1dd1ef4ed"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0"
                      },
                      {
                        "fixed": "7.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1"
                      },
                      {
                        "fixed": "7.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.2"
                      },
                      {
                        "fixed": "7.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.0.8",
            "v7.1.5",
            "v7.2.1",
            "v7.2.0",
            "v7.1.4",
            "v7.0.7",
            "v7.0.6",
            "v7.1.3",
            "v7.0.5",
            "v7.1.2",
            "v7.0.4",
            "v7.1.1",
            "v7.1.0",
            "v7.0.3",
            "v7.0.2",
            "v7.0.1",
            "v7.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8927.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:07.100838430Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/356JOYTWW4BWSZ42SEFLV7NYHL3S3AEH/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TOGTZ2ZWDH662ZNFFSZVL3M5AJXV6JF/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4E265WKWKYMK2RYYSIXBEGZTDY5IQE6/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M4VCDOJGL6BK3HB4XRD2WETBPYX2ITF6/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBKACMLSRX7JJSKBTR35UOEP2WFR6QP/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQLM7ABVCYJLF6JRPF3M3EBXW63GNC27/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W23CUADGMVMQQNFKHPHXVP7RPZJZNN6I/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WW62OZEY2GHJL4JCOLJRBSRETXDHMWRK/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXEQ3GQVELA2T4HNZG7VPMS2HDVXMJRG/",
        "https://github.com/google/brotli/releases/tag/v1.0.9",
        "https://lists.debian.org/debian-lts-announce/2020/12/msg00003.html",
        "https://usn.ubuntu.com/4568-1/",
        "https://www.debian.org/security/2020/dsa-4801"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "microsoft:powershell",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "fixed": "7.0.9"
                  },
                  {
                    "introduced": "7.1"
                  },
                  {
                    "fixed": "7.1.6"
                  },
                  {
                    "introduced": "7.2"
                  },
                  {
                    "fixed": "7.2.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "microsoft:visual_studio_2019",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.0"
                  },
                  {
                    "last_affected": "16.11"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "microsoft:visual_studio_2022",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.0"
                  },
                  {
                    "last_affected": "17.0.7"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "20.04"
                  },
                  {
                    "last_affected": "20.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  },
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  },
                  {
                    "introduced": "36"
                  },
                  {
                    "last_affected": "36"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:microsoft:visual_studio_2022:17.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "microsoft:visual_studio_2022",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.1"
                  },
                  {
                    "last_affected": "17.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.2"
                  },
                  {
                    "last_affected": "15.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-36846",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2020-8927",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441971,
  "published_at": "2020-09-15T10:15:12.887+00:00"
}