Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 70%

CVE-2026-51807: n/a

0
Critical
VulnerabilityCVE-2026-51807cvecve-2026-51807
Published: 07/14/2026 (07/14/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

Heap-based out-of-bounds write in j2k_precinct_subband::parse_packet_header() in OpenHTJ2K versions 0.18.3 and earlier (fixed in v0.18.4) caused by missing bounds validation before coding-pass lengths are written to j2k_codeblock::pass_length[128]. A crafted JPEG 2000 codestream containing malformed PPM packet headers can trigger a heap-based out-of-bounds write in j2k_precinct_subband::parse_packet_header() in source/core/coding/coding_units.cpp due to missing bounds validation for the j2k_codeblock::pass_length[128] array which can lead to heap corruption and process termination.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
osamu620/OpenHTJ2K
pkg:github/osamu620/OpenHTJ2K
Affected versions
<=0.18.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 22:51:59 UTC

Technical Analysis

CVE-2026-51807 describes a heap-based out-of-bounds write in the function j2k_precinct_subband::parse_packet_header() within OpenHTJ2K versions 0.18.3 and earlier. The vulnerability arises from missing bounds checking before writing coding-pass lengths to the fixed-size array j2k_codeblock::pass_length[128]. A specially crafted JPEG 2000 codestream containing malformed PPM packet headers can exploit this to corrupt heap memory, potentially causing process termination. This vulnerability is categorized under CWE-121 (Stack-based Buffer Overflow). The issue is resolved in OpenHTJ2K version 0.18.4.

Potential Impact

Successful exploitation can lead to heap corruption and process termination, resulting in denial of service. The CVSS score of 9.8 indicates high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available in OpenHTJ2K version 0.18.4. Users should upgrade to version 0.18.4 or later to remediate this vulnerability. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in v0.18.4. No additional mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-06-08T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a56bcac68715ace4355d8f5

Added to database: 07/14/2026, 22:48:12 UTC

Last enriched: 07/22/2026, 22:51:59 UTC

Last updated: 08/16/2026, 00:41:14 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses