Null-Dereference READ Vulnerability in libwebp: Critical Crash Risk

libwebp Updated 02 Oct 2025

Summary

15/08/2025
N/A
Yes i
Unrated
Not published

OSV-2025-631: Null-dereference READ in advanced_api_fuzzer@AdvancedApi.AdvancedApiTest. Affects libwebp versions >= 2246828be3329e26d8c0774481e98b0315872110, < 61e5c391d6609666983edcf9ad97dd0ebd70b501. Fixed in 61e5c391d6609666983edcf9ad97dd0ebd70b501. 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

libwebp is an open-source library developed by Google for encoding and decoding images in the WebP format. It is widely used for its efficient compression and high-quality image output. However, like any software, it can be susceptible to vulnerabilities that may compromise its stability and security. The specific vulnerability in question relates to a null-dereference issue that can lead to application crashes when using certain advanced API functions.

Vulnerability Detail

The vulnerability identified as OSV-2025-631 is a null-dereference READ that occurs in the advanced_api_fuzzer component of libwebp. This issue arises when the application attempts to read from a null pointer, leading to a crash. The vulnerability was reported through OSS-Fuzz, highlighting its potential impact on applications that rely on libwebp for image processing. If exploited, this could result in application instability and a poor user experience.

How To Fix

Minimum fixed version

61e5c391d6609666983edcf9ad97dd0ebd70b501

This is the first release that contains the fix.

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

Workaround

Currently, no specific workaround has been provided for this vulnerability. It is recommended to update to the patched version as soon as possible to mitigate the risk of crashes.

Conclusion

The null-dereference READ vulnerability in libwebp poses a significant risk of application crashes. Users are strongly advised to update to the latest patched version to ensure stability and security. Regular monitoring of dependencies using tools like Vulert can help in identifying and mitigating such vulnerabilities promptly.

See every vulnerability recorded for libwebp →

Share this vulnerability

FAQ

A null-dereference READ vulnerability occurs when a program attempts to read data from a memory address that is null, leading to crashes or undefined behavior.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The primary consequence is application crashes, which can lead to a poor user experience and potential data loss.

The best prevention is to keep your libraries updated to the latest versions that include security patches.

If an immediate update is not possible, consider reviewing your code to avoid using the affected API functions until a patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for libwebp.

How To Fix

Minimum fixed version

61e5c391d6609666983edcf9ad97dd0ebd70b501

This is the first release that contains the fix.

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