Denial of Service Vulnerability in libmetadata-extractor-java: Memory Allocation Issue

libmetadata-extractor-java Updated 02 Oct 2025

Summary

24/02/2022
N/A
No i
Unrated
Not published

DEBIAN-CVE-2022-24614: When reading a specially crafted JPEG file, metadata-extractor up to 2.16.0 can be made to allocate large amounts of memory that finally leads to an out-of-memory error even for very small inputs. Affects libmetadata-extractor-java versions 2.11.0-1. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libmetadata-extractor-java is a Java library used for extracting metadata from various file formats, including images. It is widely utilized in applications that require metadata handling, such as image processing tools and media management systems. The library is designed to be efficient and user-friendly, but it has been found to have a vulnerability that can lead to significant memory allocation issues when processing specially crafted JPEG files.

Vulnerability Detail

The vulnerability identified as CVE-2022-24614 allows an attacker to exploit the libmetadata-extractor-java library by providing a specially crafted JPEG file. This file can cause the library to allocate excessive amounts of memory, ultimately leading to an out-of-memory error. This situation can be exploited to mount a denial of service attack against any service that relies on the metadata-extractor library, potentially disrupting service availability even with small input files.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can implement input validation to check the size and integrity of JPEG files before processing them with the libmetadata-extractor-java library. This can help mitigate the risk of denial of service attacks.

Conclusion

The CVE-2022-24614 vulnerability in libmetadata-extractor-java poses a significant risk of denial of service through excessive memory allocation. It is crucial for users to update their library versions to mitigate this risk and ensure service availability. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for libmetadata-extractor-java →

Share this vulnerability

FAQ

CVE-2022-24614 is a vulnerability in the libmetadata-extractor-java library that allows for denial of service attacks through excessive memory allocation when processing specially crafted JPEG files.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Simply upload your manifest file, such as package-lock.json, to check for vulnerabilities like CVE-2022-24614.

The primary impact of this vulnerability is the potential for denial of service, where services using the affected library may become unresponsive due to excessive memory consumption.

Yes, users are advised to update to a version of libmetadata-extractor-java that is greater than 2.16.0, which contains the necessary patches for this vulnerability.

If immediate updates are not possible, consider implementing input validation to restrict the processing of potentially harmful JPEG files as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for libmetadata-extractor-java.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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