CVE-2025-54874
CRITICALCVSS 9.8/10EPSS 0.60%
Last modified
CVE-2025-54874 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | <= 2.5.3 |
References
- https://github.com/uclouvain/openjpeg/pull/1573Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCVExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-54874?
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.
How severe is CVE-2025-54874?
CVE-2025-54874 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 0.60% probability of exploitation in the next 30 days.
How do I fix CVE-2025-54874?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-54869FPDI is a collection of PHP classes that facilitate reading …6
- CVE-2025-5487The AutomatorWP – Automator plugin for no-code automations, …7.2
- CVE-2025-54870VTun-ng is a Virtual Tunnel over TCP/IP network. In versions…8.7
- CVE-2025-54871Electron Capture facilitates video playback for screen-shari…7.8
- CVE-2025-54872onion-site-template is a complete, scalable tor hidden servi…8.7
- CVE-2025-54873RISC Zero is a zero-knowledge verifiable general computing p…2.7
- CVE-2025-54875FreshRSS is a free, self-hostable RSS aggregator. In version…9.8
- CVE-2025-54876The Janssen Project is an open-source identity and access ma…6.9
- CVE-2025-54877Tuleap is an Open Source Suite created to facilitate managem…5.3
- CVE-2025-54878CryptoLib provides a software-only solution using the CCSDS …8.6
- CVE-2025-54879Mastodon is a free, open-source social network server based …7.5
- CVE-2025-5488The WP Masonry & Infinite Scroll plugin for WordPress is vul…5.4
Are you affected by CVE-2025-54874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
