CVE-2021-28233: Heap-based Buffer Overflow vulnerability exists in ok-file-formats 1 via the ok_jpg_generate_huffman_table fun
CVE-2021-28233 is a high-severity flaw (CVSS 8.8) affecting ok-file-formats. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heap-based Buffer Overflow vulnerability exists in ok-file-formats 1 via the ok_jpg_generate_huffman_table function in ok_jpg.c.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2021-08-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-28233?
ok-file-formats: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-28233 being exploited?
CVE-2021-28233 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-28233 affect?
CVE-2021-28233 affects ok-file-formats. Severity is high (CVSS 8.8). Heap-based Buffer Overflow vulnerability exists in ok-file-formats 1 via the ok_jpg_generate_huffman_table function in ok_jpg.c.
How urgent is CVE-2021-28233?
Priority 52/100. High severity; Public exploit reference
Related CVEs
- CVE-2021-44343 HIGH 7.8 DOWNGRADE David Brackeen ok-file-formats 203defd is vulnerable to Buffer Overflow
- CVE-2021-44342 HIGH 7.8 DOWNGRADE David Brackeen ok-file-formats 203defd is vulnerable to Buffer Overflow via function ok_png_transform_scanline
- CVE-2021-44340 HIGH 7.8 MITIGATE David Brackeen ok-file-formats dev version is vulnerable to Buffer Overflow
- CVE-2021-44339 HIGH 7.8 DOWNGRADE David Brackeen ok-file-formats 203defd is vulnerable to Buffer Overflow
- CVE-2021-44335 HIGH 7.8 DOWNGRADE David Brackeen ok-file-formats 203defd is vulnerable to Buffer Overflow