{"id":"UBUNTU-CVE-2020-8927","details":"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.","modified":"2026-04-22T12:44:32.171175Z","published":"2020-09-15T10:15:00Z","related":["USN-4568-1"],"upstream":["CVE-2020-8927"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8927"},{"type":"REPORT","url":"https://github.com/google/brotli/releases/tag/v1.0.9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4568-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8927"}],"affected":[{"package":{"name":"brotli","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/brotli@1.0.3-1ubuntu1~16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1ubuntu1~16.04.2"}]}],"versions":["0.2.0+dfsg-1","0.3.0+dfsg-1","0.3.0+dfsg-2","0.3.0+dfsg-2ubuntu1","1.0.3-1ubuntu1~16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"brotli","binary_version":"1.0.3-1ubuntu1~16.04.2"},{"binary_name":"libbrotli1","binary_version":"1.0.3-1ubuntu1~16.04.2"},{"binary_name":"python-brotli","binary_version":"1.0.3-1ubuntu1~16.04.2"},{"binary_name":"python3-brotli","binary_version":"1.0.3-1ubuntu1~16.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8927.json"}},{"package":{"name":"brotli","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/brotli@1.0.3-1ubuntu1.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-1ubuntu1.3"}]}],"versions":["0.6.0-1build1","1.0.2-2","1.0.2-3","1.0.3-1ubuntu1","1.0.3-1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"brotli","binary_version":"1.0.3-1ubuntu1.3"},{"binary_name":"libbrotli1","binary_version":"1.0.3-1ubuntu1.3"},{"binary_version":"1.0.3-1ubuntu1.3","binary_name":"python-brotli"},{"binary_name":"python3-brotli","binary_version":"1.0.3-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8927.json"}},{"package":{"name":"brotli","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/brotli@1.0.7-6ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7-6ubuntu0.1"}]}],"versions":["1.0.7-2","1.0.7-2build1","1.0.7-4","1.0.7-5","1.0.7-6","1.0.7-6build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"brotli","binary_version":"1.0.7-6ubuntu0.1"},{"binary_name":"libbrotli1","binary_version":"1.0.7-6ubuntu0.1"},{"binary_name":"python3-brotli","binary_version":"1.0.7-6ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8927.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}