CVE-2022-37768: libjpeg commit 281daa9 was discovered to contain an infinite loop via the component Frame::ParseTrailer.
CVE-2022-37768 is a high-severity flaw (CVSS 7.5) affecting libjpeg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
libjpeg commit 281daa9 was discovered to contain an infinite loop via the component Frame::ParseTrailer.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-835 |
| Published | 2022-08-18 |
| 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-2022-37768?
libjpeg: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-37768 being exploited?
CVE-2022-37768 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-2022-37768 affect?
CVE-2022-37768 affects libjpeg. Severity is high (CVSS 7.5). libjpeg commit 281daa9 was discovered to contain an infinite loop via the component Frame::ParseTrailer.
How urgent is CVE-2022-37768?
Priority 53/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2023-37837 MEDIUM 6.5 UPGRADE libjpeg commit db33a6e was discovered to contain a heap buffer overflow via LineBitmapRequester::EncodeRegion
- CVE-2023-37836 MEDIUM 6.5 UPGRADE libjpeg commit db33a6e was discovered to contain a reachable assertion via BitMapHook::BitMapHook at bitmaphoo
- CVE-2022-37770 MEDIUM 6.5 MITIGATE libjpeg commit 281daa9 was discovered to contain a segmentation fault via LineMerger::GetNextLowpassLine at li
- CVE-2022-37769 MEDIUM 6.5 MITIGATE libjpeg commit 281daa9 was discovered to contain a segmentation fault via HuffmanDecoder::Get at huffmandecode
- CVE-2022-35166 MEDIUM 5.5 DOWNGRADE libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.