DescriptionHeap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 through 3.1.1 allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)jessie2.6.1-2+deb8u3vulnerable
jessie (security)2.6.1-2+deb8u4vulnerable
stretch (security)4.0.0-4+deb9u1vulnerable
buster, buster (security)5.4.1-2+deb10u1vulnerable
bullseye, sid7.0.0-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Notes (3.1.2)
Marked as unimportant since source vulnerable but in Debian we do
not built against openjpeg by default

Search for package or bug name: Reporting problems