What’s Vulnerable › Vulnerabilities
CVE-2020-17541
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-06-01 · updated 2026-06-17
- Weakness: CWE-787
Description
Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.
Affected products
- libjpeg-turbo: before 2.0.4 — fixed in 2.0.4
How to fix
Upgrade to a fixed version: libjpeg-turbo 2.0.4. Check the vendor advisory for mitigations.
References
- https://cwe.mitre.org/data/definitions/121.html
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/392
- https://cwe.mitre.org/data/definitions/121.html
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/392
Get alerted when CVE-2020-17541 or the next vulnerability affects your stack