Out-of-bounds Read Affecting webp package, versions <0.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-WEBP-12304065
  • published1 Sept 2025
  • disclosed29 Aug 2025
  • creditUnknown

Introduced: 29 Aug 2025

New CVE NOT AVAILABLE CWE-125  (opens in a new tab)

How to fix?

Upgrade webp to version 0.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the webp::Encoder::encode() function. An attacker can cause memory contents to be exposed or trigger a segmentation fault by providing an input slice that is too short for the specified image dimensions.

CVSS Base Scores

version 4.0
version 3.1