mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			706 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			706 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| 9.1.1
 | |
| -----
 | |
| 
 | |
| Security
 | |
| ========
 | |
| 
 | |
| This release addresses several security issues.
 | |
| 
 | |
| :cve:`2022-30595`: Heap buffer overflow
 | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | |
| 
 | |
| When reading a TGA file with RLE packets that cross scan lines,
 | |
| Pillow reads the information past the end of the first line without deducting that
 | |
| from the length of the remaining file data. This vulnerability was introduced in Pillow
 | |
| 9.1.0, and can cause a heap buffer overflow.
 | |
| 
 | |
| Decompression bomb check fix
 | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | |
| 
 | |
| Opening an image with a zero or negative height has been found to bypass a
 | |
| decompression bomb check. This will now raise a :py:exc:`SyntaxError` instead, in turn
 | |
| raising a ``PIL.UnidentifiedImageError``.
 |