Feed
7.5HIGH
CVE-2022-45199Pillow subject to DoS via SAMPLESPERPIXEL tag
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.6% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.6%
- percentile 77%
- Fix
- Named by a source
- CVE published 14 Nov 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.6% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 9.3.0 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/6700
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected>= 9.2.0, < 9.3.0Fixed in9.3.0OSV (PYSEC-2022-42980)
- Affected9.1.0, 9.0.0, 8.4.0, 8.3.0, 8.2.0, 8.1.0, 8.0.0, 7.2.0, 7.1.0, 7.0.0, 6.2.0, 6.1.0, 6.0.0, 5.4.0, 5.3.0, 5.2.0, 5.1.0, 5.0.0, 4.3.0, 4.2.0 …Fixed innot namedOSV (PYSEC-2022-42980)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-q4mp-jvh2-76fj)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-400
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-45199
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/6700
- patchhttps://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3
- otherhttps://bugs.gentoo.org/878769
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-42980.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://github.com/python-pillow/Pillow/releases/tag/9.3.0
- otherhttps://security.gentoo.org/glsa/202211-10
- advisoryhttps://github.com/advisories/GHSA-q4mp-jvh2-76fj
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-q4mp-jvh2-76fj (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-42980 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 55 min ago · osv 55 min ago · nvd 55 min ago · epss 54 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2022-45199, GHSA-q4mp-jvh2-76fj, PYSEC-2022-42980