CVE-2022-35166
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG:...
CVE-2022-35166 is a medium vulnerability (CVSS 5.5) in Jpeg Libjpeg, published August 18, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. No source names a fixed version.
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
CVE-2022-35166- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-835
- Updated
- 2026-11-02
CVE List No score
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
CVE-2022-35166- Updated
- 2026-11-02
EUVDEUVD-2022-38060 No score
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
EUVD-2022-38060- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r4vq-5vwr-w52j
5.5
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG:...
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
GHSA-r4vq-5vwr-w52j- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-835
- Updated
- 2026-11-02
OSV
5.5
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
CVE-2022-35166- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-35166
5.5
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
UBUNTU-CVE-2022-35166- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-35166 No score
libjpeg commit 842c7ba was discovered to contain an infinite loop via the component JPEG::ReadInternal.
- Record
DEBIAN-CVE-2022-35166- Updated
- 2026-11-03
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libjpegDebian:12 |
All versions, plus listed versions 0.0~git20220805.54ec643-10.0~git20241105.c719010-10.0~git20250815.25f7128-10.0~git20250815.25f7128-20.0~git20250815.25f7128-3 Show 5 moreShow less6a-116a-126a-12.16a-26a-4 |
None known |
libjpegDebian:13 |
All versions, plus listed versions 0.0~git20241105.c719010-10.0~git20250815.25f7128-10.0~git20250815.25f7128-20.0~git20250815.25f7128-36a-11 Show 4 moreShow less6a-126a-12.16a-26a-4 |
None known |
libjpegDebian:14 |
All versions, plus listed versions 0.0~git20241105.c719010-10.0~git20250815.25f7128-10.0~git20250815.25f7128-20.0~git20250815.25f7128-36a-11 Show 4 moreShow less6a-126a-12.16a-26a-4 |
None known |
libjpegUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20190821.87636f3b26b4-10.0~git20190821.87636f3b26b4-1.1 |
None known |
libjpegUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20210129.91985dc-1build10.0~git20210908.58455ca-10.0~git20211115.76133b7-10.0~git20211203.966a8ed-1 |
None known |
libjpegUbuntu:24.04:LTS |
All versions, plus listed versions 0.0~git20220805.54ec643-1 |
None known |
libjpegUbuntu:25.10 |
All versions, plus listed versions 0.0~git20241105.c719010-1 |
None known |
libjpegUbuntu:26.10 |
All versions, plus listed versions 0.0~git20250815.25f7128-20.0~git20250815.25f7128-3 |
None known |
libjpegUbuntu:26.04:LTS |
All versions, plus listed versions 0.0~git20241105.c719010-10.0~git20250815.25f7128-10.0~git20250815.25f7128-2 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |