Every CVE Search/ Get API key

CVE-2020-36331

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function...

9.1 CriticalFix available

CVE-2020-36331 is a critical vulnerability (CVSS 9.1) in Google Libwebp, published December 31, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.30%, the 83rd percentile. Fixed in libwebp 1.0.0-5.el8.

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

2.30%Up 1.9 points since May 22, 2021
90%50%10%1%

What each source reports

NVD Score used 9.1

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
CVE-2020-36331
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
CVE-2020-36331
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2020-23868 No score

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
EUVD-2020-23868
Updated
2026-11-03
GitHub AdvisoriesGHSA-hrq2-3wxg-w5m6 9.1

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function...

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
GHSA-hrq2-3wxg-w5m6
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 9.1

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
CVE-2020-36331
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-36331 9.1

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
DEBIAN-CVE-2020-36331
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVRHSA-2021:4231 9.8

Red Hat Security Advisory: libwebp security update

Record
RHSA-2021:4231
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2021:4231 9.8

Moderate: libwebp security update

The libwebp packages provide a library and tools for the WebP graphics format. WebP is an image format with a lossy compression of digital photographic images. WebP consists of a codec based on the VP8 format, and a container based on the Resource Interchange File Format (RIFF). Webmasters, web developers and browser developers can use WebP to compress, archive, and distribute digital images more efficiently.

Security Fix(es):

  • libwebp: out-of-bounds read in WebPMuxCreateInternal (CVE-2018-25009)

  • libwebp: out-of-bounds read in ApplyFilter() (CVE-2018-25010)

  • libwebp: out-of-bounds read in WebPMuxCreateInternal() (CVE-2018-25012)

  • libwebp: out-of-bounds read in ShiftBytes() (CVE-2018-25013)

  • libwebp: use of uninitialized value in ReadSymbol() (CVE-2018-25014)

  • libwebp: out-of-bounds read in ChunkVerifyAndAssign() in mux/muxread.c (CVE-2020-36330)

  • libwebp: out-of-bounds read in ChunkAssignData() in mux/muxinternal.c (CVE-2020-36331)

  • libwebp: excessive memory allocation when reading a file (CVE-2020-36332)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4231
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-36331 9.1

A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from this vulnerability is to data confidentiality and to the service availability.

Record
UBUNTU-CVE-2020-36331
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVALSA-2021:4231 No score

Moderate: libwebp security update

The libwebp packages provide a library and tools for the WebP graphics format. WebP is an image format with a lossy compression of digital photographic images. WebP consists of a codec based on the VP8 format, and a container based on the Resource Interchange File Format (RIFF). Webmasters, web developers and browser developers can use WebP to compress, archive, and distribute digital images more efficiently.

Security Fix(es):

  • libwebp: out-of-bounds read in WebPMuxCreateInternal (CVE-2018-25009)

  • libwebp: out-of-bounds read in ApplyFilter() (CVE-2018-25010)

  • libwebp: out-of-bounds read in WebPMuxCreateInternal() (CVE-2018-25012)

  • libwebp: out-of-bounds read in ShiftBytes() (CVE-2018-25013)

  • libwebp: use of uninitialized value in ReadSymbol() (CVE-2018-25014)

  • libwebp: out-of-bounds read in ChunkVerifyAndAssign() in mux/muxread.c (CVE-2020-36330)

  • libwebp: out-of-bounds read in ChunkAssignData() in mux/muxinternal.c (CVE-2020-36331)

  • libwebp: excessive memory allocation when reading a file (CVE-2020-36332)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4231
Updated
2026-11-02
OSVCLSA-2023-1696537325 No score

Fix of 10 CVEs

  • SECURITY UPDATE: a heap-based buffer overflow
    • debian/patches/CVE-2018-25009.patch: add additional check to avoid read over the header
    • CVE-2018-25009
  • SECURITY UPDATE: a heap-based buffer overflow
    • debian/patches/CVE-2018-25010.patch: limit the filter size to not exceed the image dimensions
    • CVE-2018-25010
  • SECURITY UPDATE: fail on multiple image chunks
    • debian/patches/CVE-2018-25011.patch: only 1 image chunk allowed
    • CVE-2018-25011
  • SECURITY UPDATE: a heap-based buffer overflow
    • debian/patches/CVE-2018-25013_4.patch: wait for all threads to be done in DecodeRemaining.
    • CVE-2018-25013
    • CVE-2018-25014
  • SECURITY UPDATE: a heap-based buffer overflow
    • debian/patches/CVE-2020-36328.patch: fix invalid check for buffer size
    • CVE-2020-36328
  • SECURITY UPDATE: a use-after-free was found due to a thread being killed too early
    • debian/patches/CVE-2020-36329.patch: fix for thread race heap-use-after-free
    • CVE-2020-36329
  • SECURITY UPDATE: an out-of-bounds read
    • debian/patches/CVE-2020-36330.patch: fix riff size checks
    • CVE-2020-36330
  • SECURITY UPDATE: an out-of-bounds read
    • debian/patches/CVE-2020-36331.patch: validate chunk_size
    • CVE-2020-36331
  • SECURITY UPDATE: a use after free/double free
    • debian/patches/CVE-2023-1999.patch: clear result->bw on error
    • CVE-2023-1999
Record
CLSA-2023-1696537325
Updated
2026-11-02
OSVCLSA-2025-1759154304 No score

libwebp: Fix of 3 CVEs

  • CVE-2020-36329: fix use-after-free vulnerability by delaying thread termination
  • CVE-2020-36330: fix out-of-bounds read in ChunkVerifyAndAssign function
  • CVE-2020-36331: fix out-of-bounds read in ChunkAssignData function
Record
CLSA-2025-1759154304
Updated
2026-11-02
OSVCLSA-2025-1759157126 No score

libwebp: Fix of 3 CVEs

  • CVE-2020-36329: fix use-after-free vulnerability by delaying thread termination
  • CVE-2020-36330: fix out-of-bounds read in ChunkVerifyAndAssign function
  • CVE-2020-36331: fix out-of-bounds read in ChunkAssignData function
Record
CLSA-2025-1759157126
Updated
2026-11-02
OSVopenSUSE-SU-2021:1860-1 No score

Security update for libwebp

This update for libwebp fixes the following issues:

  • CVE-2018-25010: Fixed heap-based buffer overflow in ApplyFilter() (bsc#1185685).
  • CVE-2020-36330: Fixed heap-based buffer overflow in ChunkVerifyAndAssign() (bsc#1185691).
  • CVE-2020-36332: Fixed extreme memory allocation when reading a file (bsc#1185674).
  • CVE-2020-36329: Fixed use-after-free in EmitFancyRGB() (bsc#1185652).
  • CVE-2018-25012: Fixed heap-based buffer overflow in GetLE24() (bsc#1185690).
  • CVE-2020-36328: Fixed heap-based buffer overflow in WebPDecode*Into functions (bsc#1185688).
  • CVE-2018-25013: Fixed heap-based buffer overflow in ShiftBytes() (bsc#1185654).
  • CVE-2020-36331: Fixed heap-based buffer overflow in ChunkAssignData() (bsc#1185686).
  • CVE-2018-25009: Fixed heap-based buffer overflow in GetLE16() (bsc#1185673).
  • CVE-2018-25011: Fixed fail on multiple image chunks (bsc#1186247).
Record
openSUSE-SU-2021:1860-1
Updated
2026-11-02
OSVSUSE-SU-2021:1830-1 No score

Security update for libwebp

This update for libwebp fixes the following issues:

  • CVE-2018-25010: Fixed heap-based buffer overflow in ApplyFilter() (bsc#1185685).
  • CVE-2020-36330: Fixed heap-based buffer overflow in ChunkVerifyAndAssign() (bsc#1185691).
  • CVE-2020-36332: Fixed extreme memory allocation when reading a file (bsc#1185674).
  • CVE-2020-36329: Fixed use-after-free in EmitFancyRGB() (bsc#1185652).
  • CVE-2018-25012: Fixed heap-based buffer overflow in GetLE24() (bsc#1185690).
  • CVE-2018-25013: Fixed heap-based buffer overflow in ShiftBytes() (bsc#1185654).
  • CVE-2020-36331: Fixed heap-based buffer overflow in ChunkAssignData() (bsc#1185686).
  • CVE-2018-25009: Fixed heap-based buffer overflow in GetLE16() (bsc#1185673).
  • CVE-2018-25011: Fixed fail on multiple image chunks (bsc#1186247).
Record
SUSE-SU-2021:1830-1
Updated
2026-11-02
OSVSUSE-SU-2021:1860-1 No score

Security update for libwebp

This update for libwebp fixes the following issues:

  • CVE-2018-25010: Fixed heap-based buffer overflow in ApplyFilter() (bsc#1185685).
  • CVE-2020-36330: Fixed heap-based buffer overflow in ChunkVerifyAndAssign() (bsc#1185691).
  • CVE-2020-36332: Fixed extreme memory allocation when reading a file (bsc#1185674).
  • CVE-2020-36329: Fixed use-after-free in EmitFancyRGB() (bsc#1185652).
  • CVE-2018-25012: Fixed heap-based buffer overflow in GetLE24() (bsc#1185690).
  • CVE-2020-36328: Fixed heap-based buffer overflow in WebPDecode*Into functions (bsc#1185688).
  • CVE-2018-25013: Fixed heap-based buffer overflow in ShiftBytes() (bsc#1185654).
  • CVE-2020-36331: Fixed heap-based buffer overflow in ChunkAssignData() (bsc#1185686).
  • CVE-2018-25009: Fixed heap-based buffer overflow in GetLE16() (bsc#1185673).
  • CVE-2018-25011: Fixed fail on multiple image chunks (bsc#1186247).
Record
SUSE-SU-2021:1860-1
Updated
2026-11-02
OSVUSN-4971-1 No score

libwebp vulnerabilities

It was discovered that libwebp incorrectly handled certain malformed images. If a user or automated system were tricked into opening a specially crafted image file, a remote attacker could use this issue to cause libwebp to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-4971-1
Updated
2026-11-02
OSVUSN-4971-2 No score

libwebp vulnerabilities

USN-4971-1 fixed several vulnerabilities in libwebp. This update provides the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

It was discovered that libwebp incorrectly handled certain malformed images. If a user or automated system were tricked into opening a specially crafted image file, a remote attacker could use this issue to cause libwebp to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-4971-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libwebp
AlmaLinux:8
before 1.0.0-5.el8
1.0.0-5.el8
libwebp-devel
AlmaLinux:8
before 1.0.0-5.el8
1.0.0-5.el8
libwebp-dev
TuxCare:Ubuntu:16.04
before 0.4.4-1+tuxcare.els1
0.4.4-1+tuxcare.els1
libwebp5
TuxCare:Ubuntu:16.04
before 0.4.4-1+tuxcare.els1
0.4.4-1+tuxcare.els1
libwebpdemux1
TuxCare:Ubuntu:16.04
before 0.4.4-1+tuxcare.els1
0.4.4-1+tuxcare.els1
libwebpmux1
TuxCare:Ubuntu:16.04
before 0.4.4-1+tuxcare.els1
0.4.4-1+tuxcare.els1
webp
TuxCare:Ubuntu:16.04
before 0.4.4-1+tuxcare.els1
0.4.4-1+tuxcare.els1
libwebp
TuxCare:CentOS:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp-devel
TuxCare:CentOS:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp-java
TuxCare:CentOS:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
Show 54 moreShow less
Affected packages
PackageAffectedFixed
libwebp-tools
TuxCare:CentOS:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp
TuxCare:OracleLinux:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp-devel
TuxCare:OracleLinux:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp-java
TuxCare:OracleLinux:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp-tools
TuxCare:OracleLinux:6
before 0.4.3-3.el6.tuxcare.els3
0.4.3-3.el6.tuxcare.els3
libwebp
Debian:12
before 0.6.1-2.1
0.6.1-2.1
libwebp
Debian:13
before 0.6.1-2.1
0.6.1-2.1
libwebp
Debian:14
before 0.6.1-2.1
0.6.1-2.1
libwebp
Debian:9
before 0.5.2-1+deb9u1, plus listed versions
0.5.2-1
0.5.2-1+deb9u1
libwebp
Debian:10
before 0.6.1-2+deb10u1, plus listed versions
0.6.1-2
0.6.1-2+deb10u1
libwebp
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp-devel
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp-java-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp-tools-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp
Rocky Linux:8
before 0:1.0.0-5.el8
0:1.0.0-5.el8
libwebp
SUSE:HPE Helion OpenStack 8
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:OpenStack Cloud 7
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:OpenStack Cloud 8
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:OpenStack Cloud 9
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:OpenStack Cloud Crowbar 8
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:OpenStack Cloud Crowbar 9
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server 12 SP2-BCL
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server 12 SP3-BCL
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server 12 SP5
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 0.4.3-4.7.1
0.4.3-4.7.1
libwebp
SUSE:Linux Enterprise Module for Package Hub 15 SP2
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Module for Package Hub 15 SP3
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Server 15-LTSS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Server 15 SP1-BCL
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Server for SAP Applications 15
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Manager Proxy 4.0
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Manager Retail Branch Server 4.0
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Manager Server 4.0
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Workstation Extension 15 SP2
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Linux Enterprise Workstation Extension 15 SP3
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
SUSE:Enterprise Storage 6
before 0.5.0-3.5.1
0.5.0-3.5.1
libwebp
Ubuntu:Pro:14.04:LTS
before 0.4.0-4ubuntu0.1~esm1, plus listed versions
0.3.0-30.4.0-4
0.4.0-4ubuntu0.1~esm1
libwebp
Ubuntu:Pro:16.04:LTS
before 0.4.4-1ubuntu0.1~esm1, plus listed versions
0.4.3-1.30.4.3-1.3build10.4.4-1
0.4.4-1ubuntu0.1~esm1
libwebp
Ubuntu:18.04:LTS
before 0.6.1-2ubuntu0.18.04.1, plus listed versions
0.6.0-30.6.0-40.6.1-10.6.1-2
0.6.1-2ubuntu0.18.04.1
libwebp
Ubuntu:20.04:LTS
before 0.6.1-2ubuntu0.20.04.1, plus listed versions
0.6.1-2
0.6.1-2ubuntu0.20.04.1
libwebp
openSUSE:Leap 15.3
before 0.5.0-3.5.1
0.5.0-3.5.1

History

History
WhenChangedSources
2026-11-03aliases, productsEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 87 moreShow less
MoveEnter Open