libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "14.04"
},
{
"last_affected": "16.04"
},
{
"last_affected": "18.04"
},
{
"last_affected": "19.10"
}
],
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux"
},
{
"extracted_events": [
{
"last_affected": "9.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux"
},
{
"extracted_events": [
{
"last_affected": "30"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora"
}
]
}{
"cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.2.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"signature_type": "Function",
"digest": {
"length": 3419.0,
"function_hash": "302220455464486737318526284033412250665"
},
"id": "CVE-2020-5313-b532e49c",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/python-pillow/pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b",
"target": {
"function": "ImagingFliDecode",
"file": "src/libImaging/FliDecode.c"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"37157442833106023353193678460912189837",
"270660893983846785194614299295365101477",
"123429680817191715397250062351088262009",
"80828568724056570888061163794266956490",
"200114137639258668432822712228387541758",
"60017815867957894917657944409302113715"
],
"threshold": 0.9
},
"id": "CVE-2020-5313-d95c34be",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/python-pillow/pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b",
"target": {
"file": "src/libImaging/FliDecode.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-5313.json"
"2026-05-30T16:10:11Z"