Exploitation Summary
EIP tracks 1 public exploit for CVE-2025-54874. PoCs published by cyhe50.
AI-analyzed exploit summary This repository contains a functional PoC for CVE-2025-54874, demonstrating a memory leak in OpenJPEG 2.5.1 due to improper error handling in `opj_jp2_read_header`. The PoC includes a crafted JP2 file and a C program to trigger the leak, validated with Valgrind output.
Description
OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.
Exploits (1)
This repository contains a functional PoC for CVE-2025-54874, demonstrating a memory leak in OpenJPEG 2.5.1 due to improper error handling in `opj_jp2_read_header`. The PoC includes a crafted JP2 file and a C program to trigger the leak, validated with Valgrind output.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H