CVE-2021-28676

Source
https://cve.org/CVERecord?id=CVE-2021-28676
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28676.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28676
Aliases
Downstream
Related
Published
2021-06-02T16:15:08.797Z
Modified
2026-04-16T00:06:55.440796329Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "33"
                }
            ],
            "source": "CPE_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.2.0"
        }
    ],
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0
1.2
1.7.7
1.7.8
2.*
2.0.0
2.1.0
2.2.0
2.2.1
2.3.0
2.5.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.0.dev0
2.9.0.dev1
2.9.0.dev2
3.*
3.1.0
3.1.0-rc1
3.2.0
3.3.0
3.4.0
4.*
4.0.0
4.0.0a
4.1.0
4.2.0
4.3.0
5.*
5.0.0
5.1.0
5.2.0
5.3.0
5.4.0
6.*
6.0.0
6.1.0
6.2.0
7.*
7.0.0
7.1.0
7.2.0
8.*
8.0.0
8.1.0

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "276082854084581862752233006547183163125",
                "154487951280376738261317199800104056040",
                "196791183223561229908953348714930460735",
                "108716279980050847017816890668636521998"
            ]
        },
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2021-28676-0f8c3b10",
        "source": "https://github.com/python-pillow/pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856",
        "target": {
            "file": "src/libImaging/FliDecode.c"
        },
        "deprecated": false
    },
    {
        "digest": {
            "length": 3966.0,
            "function_hash": "90249710371010666261709649153104395496"
        },
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2021-28676-89bdf835",
        "deprecated": false,
        "target": {
            "function": "ImagingFliDecode",
            "file": "src/libImaging/FliDecode.c"
        },
        "source": "https://github.com/python-pillow/pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856"
    }
]
vanir_signatures_modified
"2026-04-12T02:45:06Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28676.json"