CVE-2016-6318 Memory corruption in n/a
Local attackers can exploit a stack-based buffer overflow in cracklib to crash the application or escalate privileges via a long GECOS field.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-6318?
CVE-2016-6318 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Sep 2016. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Stack-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.
Weakness: CWE-787
Which versions are affected by CVE-2016-6318?
It affects 3 products.
Linux distribution packages (8)
cracklib SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 2.9.0-7.1 |
cracklib SUSE:Linux Enterprise Server 11 SP4 | All versions | 2.8.12-56.13.1 |
cracklib SUSE:Linux Enterprise Server 12 SP1 | All versions | 2.9.0-7.1 |
cracklib SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 2.8.12-56.13.1 |
cracklib SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 2.9.0-7.1 |
cracklib SUSE:Linux Enterprise Software Development Kit 11 SP4 | All versions | 2.8.12-56.13.1 |
cracklib SUSE:Linux Enterprise Software Development Kit 12 SP1 | All versions | 2.9.0-7.1 |
cracklib SUSE:Studio Onsite 1.3 | All versions | 2.8.12-56.13.1 |
Products include Cracklib Project Cracklib, Debian Debian Linux, Opensuse Leap.
How do I fix CVE-2016-6318?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-6318 being exploited?
There is no known exploitation of CVE-2016-6318 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2016-6318, DEBIAN-CVE-2016-6318, DLA-2220-1, DLA-599-1, GHSA-f7mv-c94v-v96r, MGASA-2016-0302 and 4 more.