CVE-2016-4574

NameCVE-2016-4574
DescriptionOff-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libksba (PTS)jessie, jessie (lts)1.3.2-1+deb8u3fixed
stretch (lts), stretch1.3.5-2+deb9u2fixed
buster (security), buster, buster (lts)1.3.5-2+deb10u2fixed
bullseye (security), bullseye1.5.0-3+deb11u2fixed
bookworm1.6.3-2fixed
sid, trixie1.6.7-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libksbasourcewheezy(not affected)
libksbasourcejessie(not affected)
libksbasource(unstable)1.3.4-3

Notes

[jessie] - libksba <not-affected> (Incomplete fix not applied)
[wheezy] - libksba <not-affected> (Incomplete fix not applied)
Fixed by: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=6be61daac047d8e6aa941eb103f8e71a1d4e3c75
Introduced by: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=243d12fdec66a4360fbb3e307a046b39b5b4ffc3

Search for package or bug name: Reporting problems