# CVE-2018-25013: webp: A heap-based buffer overflow was found in libwebp in versions before 1.0.1 in ShiftBytes().

CVE-2018-25013 is fixed in 6 products on 1 platform, first by libwebp6 0.6.1-2ubuntu0.18.04.1, released December 30, 2020. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2018-25013
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0205
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 30, 2018

## Description

A heap-based buffer overflow was found in libwebp in versions before 1.0.1 in ShiftBytes().

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libwebp RHEL 8 | 0:1.0.0-5.el8 | [RHSA-2021:4231](https://patchblox.com/security/data/fix/linux/rhsa-2021-4231.md) | Nov 9, 2021 |
| Linux | libwebp almalinux 8 | 1.0.0-5.el8 | [ALSA-2021:4231](https://patchblox.com/security/data/fix/linux/alsa-2021-4231.md) | Nov 9, 2021 |
| Linux | libwebp ol 8 | 0:1.0.0-5.el8 | [ELSA-2021-4231](https://patchblox.com/security/data/fix/linux/elsa-2021-4231.md) | Nov 16, 2021 |
| Linux | libwebp rocky 8 | 0:1.0.0-5.el8 | [RLSA-2021:4231](https://patchblox.com/security/data/fix/linux/rlsa-2021-4231.md) | Nov 9, 2021 |
| Linux | libwebp-devel RHEL 8 | 0:1.0.0-5.el8 | [RHSA-2021:4231](https://patchblox.com/security/data/fix/linux/rhsa-2021-4231.md) | Nov 9, 2021 |
| Linux | libwebp-devel almalinux 8 | 1.0.0-5.el8 | [ALSA-2021:4231](https://patchblox.com/security/data/fix/linux/alsa-2021-4231.md) | Nov 9, 2021 |
| Linux | libwebp-devel ol 8 | 0:1.0.0-5.el8 | [ELSA-2021-4231](https://patchblox.com/security/data/fix/linux/elsa-2021-4231.md) | Nov 16, 2021 |
| Linux | libwebp6 Ubuntu 18.04.6 LTS (bionic) | 0.6.1-2ubuntu0.18.04.1 | [libwebp6 0.6.1-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwebp6-0.6.1-2ubuntu0.18.04.1.md) | Dec 30, 2020 |
| Linux | libwebp6 Ubuntu 20.04 LTS (focal) | 0.6.1-2ubuntu0.20.04.1 | [libwebp6 0.6.1-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwebp6-0.6.1-2ubuntu0.20.04.1.md) | Dec 30, 2020 |
| Linux | libwebpdemux2 Ubuntu 18.04.6 LTS (bionic) | 0.6.1-2ubuntu0.18.04.1 | [libwebpdemux2 0.6.1-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwebpdemux2-0.6.1-2ubuntu0.18.04.1.md) | Dec 30, 2020 |
| Linux | libwebpdemux2 Ubuntu 20.04 LTS (focal) | 0.6.1-2ubuntu0.20.04.1 | [libwebpdemux2 0.6.1-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwebpdemux2-0.6.1-2ubuntu0.20.04.1.md) | Dec 30, 2020 |
| Linux | libwebpmux3 Ubuntu 18.04.6 LTS (bionic) | 0.6.1-2ubuntu0.18.04.1 | [libwebpmux3 0.6.1-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwebpmux3-0.6.1-2ubuntu0.18.04.1.md) | Dec 30, 2020 |
| Linux | libwebpmux3 Ubuntu 20.04 LTS (focal) | 0.6.1-2ubuntu0.20.04.1 | [libwebpmux3 0.6.1-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwebpmux3-0.6.1-2ubuntu0.20.04.1.md) | Dec 30, 2020 |
| Linux | webp Ubuntu 18.04.6 LTS (bionic) | 0.6.1-2ubuntu0.18.04.1 | [webp 0.6.1-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-webp-0.6.1-2ubuntu0.18.04.1.md) | Dec 30, 2020 |
| Linux | webp Ubuntu 20.04 LTS (focal) | 0.6.1-2ubuntu0.20.04.1 | [webp 0.6.1-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-webp-0.6.1-2ubuntu0.20.04.1.md) | Dec 30, 2020 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
