CVE-2021-39537

NameCVE-2021-39537
DescriptionAn issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3682-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ncurses (PTS)jessie, jessie (lts)5.9+20140913-1+deb8u6vulnerable
stretch (lts), stretch6.0+20161126-1+deb9u5vulnerable
buster6.1+20181013-2+deb10u2vulnerable
buster (security)6.1+20181013-2+deb10u5fixed
bullseye6.2+20201114-2+deb11u2fixed
bookworm6.4-4fixed
trixie6.4+20240113-1fixed
sid6.4+20240414-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ncursessourcebuster6.1+20181013-2+deb10u5DLA-3682-1
ncursessource(unstable)6.2+20200912-1unimportant

Notes

https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html
Fixed by: https://github.com/mirror/ncurses/commit/790a85dbd4a81d5f5d8dd02a44d84f01512ef443#diff-7e95c7bc5f213e9be438e69a9d5d0f261a14952bcbd692f7b9014217b8047340
Negligible security impact

Search for package or bug name: Reporting problems