Vulnerability in imagecodecs: Bundled libwebp

imagecodecs Updated 02 Oct 2025

Summary

05/10/2023
HIGH
Yes i
High
Not published

GHSA-94vc-p8w7-5p49: Bundled libwebp in imagecodecs vulnerable. Affects imagecodecs versions < 2023.9.18. Fixed in 2023.9.18. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The imagecodecs package is a Python library that provides support for various image codecs and formats. It allows users to encode and decode images using different compression algorithms. However, versions of imagecodecs prior to v2023.9.18 include vulnerable libwebp binaries in their wheels. This vulnerability, known as CVE-2023-5129 (previously CVE-2023-4863), can lead to potential security issues.

Vulnerability Detail

The bundled libwebp binaries in imagecodecs versions before v2023.9.18 are susceptible to CVE-2023-5129. This vulnerability could allow attackers to exploit the library and potentially execute arbitrary code or cause a denial-of-service attack. The vulnerability has been addressed in imagecodecs v2023.9.18, which includes an upgraded libwebp binary (v1.3.2). It is crucial to update to the fixed version to mitigate the risk.

How To Fix

Latest published version: 2026.10.10 as of 23 Oct 2026

pip install --upgrade "imagecodecs==2026.10.10"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2023.9.18

This is the first release that contains the fix.

pip install --upgrade "imagecodecs==2023.9.18"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The vulnerability in imagecodecs, caused by the bundled libwebp binaries, can pose a significant security risk. It is crucial to update to imagecodecs v2023.9.18 or later to mitigate this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for imagecodecs →

Share this vulnerability

FAQ

imagecodecs is a Python library that provides support for various image codecs and formats. It allows users to encode and decode images using different compression algorithms.

The vulnerability in imagecodecs is related to the bundled libwebp binaries. Versions prior to v2023.9.18 include a vulnerable libwebp binary that can be exploited by attackers.

CVE-2023-5129 is a vulnerability that affects the bundled libwebp binaries in imagecodecs. It can potentially allow attackers to execute arbitrary code or cause a denial-of-service attack.

To fix the vulnerability, you should upgrade the imagecodecs package to v2023.9.18 or later. This can be done by running the command 'pip install --upgrade imagecodecs'.

No specific workaround has been mentioned for this vulnerability. It is recommended to update to the fixed version of imagecodecs.

Related vulnerabilities

Recent vulnerabilities recorded for imagecodecs.

How To Fix

Latest published version: 2026.10.10 as of 23 Oct 2026

pip install --upgrade "imagecodecs==2026.10.10"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2023.9.18

This is the first release that contains the fix.

pip install --upgrade "imagecodecs==2023.9.18"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback