CVE-2016-6318

NameCVE-2016-6318
DescriptionStack-based buffer overflow in the FascistGecosUser function in lib/fascist.c in cracklib allows local users to cause a denial of service (application crash) or gain privileges via a long GECOS field, involving longbuffer.
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)
ReferencesDLA-599-1
NVD severityhigh (attack range: local)
Debian Bugs834502

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cracklib2 (PTS)jessie2.9.2-1vulnerable
stretch2.9.2-5fixed
buster, bullseye, sid2.9.6-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cracklib2source(unstable)2.9.2-2high834502
cracklib2sourcewheezy2.8.19-3+deb7u1highDLA-599-1

Notes

[jessie] - cracklib2 <no-dsa> (Minor issue)
https://bugzilla.redhat.com/attachment.cgi?id=1188599
In Debian compiled with CPPFLAGS="-D_FORTIFY_SOURCE=2" so, at most application crash

Search for package or bug name: Reporting problems