CVE-2021-3500

NameCVE-2021-3500
DescriptionA flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2667-1, DSA-5032-1, ELA-434-1
Debian Bugs988215

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
djvulibre (PTS)jessie, jessie (lts)3.5.25.4-4+deb8u4fixed
stretch (security), stretch (lts), stretch3.5.27.1-7+deb9u2fixed
buster (security), buster, buster (lts)3.5.27.1-10+deb10u1fixed
sid, trixie, bullseye, bookworm3.5.28-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
djvulibresourcejessie3.5.25.4-4+deb8u3ELA-434-1
djvulibresourcestretch3.5.27.1-7+deb9u1DLA-2667-1
djvulibresourcebuster3.5.27.1-10+deb10u1DSA-5032-1
djvulibresource(unstable)3.5.28-2988215

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=1943685
Patch in Fedora (not upstream'ed): https://src.fedoraproject.org/rpms/djvulibre/c/fc359410f7131e4ea0a892ef78e6da72f29afeee.patch
https://sourceforge.net/p/djvu/djvulibre-git/ci/cd8b5c97b27a5c1dc83046498b6ca49ad20aa9b6/ (chunk #2 / Patch11) (fixed differently)

Search for package or bug name: Reporting problems