🛡️ CVE-2022-35166 — libjpeg
Description
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
CVE-2022-35166 is classified as CWE-835: Infinite Loop. A loop condition can never become false for some inputs, hanging the process.
Affected software
CVE-2022-35166 is recorded against 1 package.
- libjpeg
Timeline and source
Published on 18 August 2022 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. Record sourced from NVD.
References
CVE-2022-35166 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libjpeg | — | — |
References
Similar Threats
- Medium CVE-2023-37836
- Medium CVE-2023-37837
- High CVE-2022-37768
- Medium CVE-2022-37769
- Medium CVE-2022-37770
More CVE 2022 advisories
Browse all of CVE 2022 in the advisory index.
Exploit Protection
Are you running libjpeg?
CVE-2022-35166 carries CVSS 5.5 Medium rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2022-35166 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.