Application crash via off-by-one chroma-buffer read
Published Mar 4, 2022 · Updated Nov 3, 2025
Out-of-bounds read in OpenJPEG 2.4.0 and earlier allows attackers to crash a decoding application via a crafted JPEG 2000 image. sycc420_to_rgb uses the image width instead of the adjusted loop width and dereferences cb and cr one element beyond their allocated chroma buffers when the image origin is odd. Processing the image is required; the published test aborts under AddressSanitizer, while the CVE record also reports code execution with the consuming application's permissions.
Summary
What happened
Out-of-bounds read in OpenJPEG 2.4.0 and earlier allows attackers to crash a decoding application via a crafted JPEG 2000 image. sycc420_to_rgb uses the image width instead of the adjusted loop width and dereferences cb and cr one element beyond their allocated chroma buffers when the image origin is odd. Processing the image is required; the published test aborts under AddressSanitizer, while the CVE record also reports code execution with the consuming application's permissions.
The record
- CVE
- CVE-2021-3575
- Published
- Mar 4, 2022
- Updated
- Nov 3, 2025
- Vendor
- Université catholique de Louvain
- Product
- OpenJPEG
- Classifications
- CWE-120, CWE-787, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 4, 2022CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Afeects v2.4.0 and prior.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- poc.j2k.gzproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo