Cloudanix VulnDB

CVE-2016-4492

Medium · 4.4

CVSS

4.4

EPSS

1.9%

Published

Feb 24, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in certain MySQL packages can let a privileged local user crash the service by feeding it a specially made file.

Exploitation
Local Privilege
Attacker needs
High Privilege
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in do_type function within cplus-dem.c allows crafted input to trigger segmentation fault and process crash, resulting in denial of service.

Why it matters to the business

Local high-privilege users can disrupt availability of affected MySQL services; the flaw is years old with low exploit likelihood and limited downstream dependents.

How an attack unfolds

An attacker with local high-privilege access supplies a specially crafted binary file that reaches the vulnerable do_type parsing routine, overflowing the buffer and crashing the process.

How to fix it

Upgrade mysql-8.0, mysql-8.0-dev, mysql-8.0-oci-entrypoint, mysql-8.0-oci-entrypoint-compat, and mysql-8.0-client packages to version 8.0.38-r0 or later on Chainguard systems.

How to confirm the fix worked

Verify installed package versions match or exceed the listed fixed releases; confirm absence of the vulnerable cplus-dem.c code path through source or binary inspection.

Typical attack path

  1. Obtain local access with high privileges on a system running affected MySQL packages
  2. Prepare a binary file containing malformed C++ symbol data targeting the do_type function
  3. Invoke the vulnerable binary parsing path (e.g., via utilities linked against the affected libiberty)
  4. Trigger segmentation fault and service crash

How to detect it

Review system and application logs for segmentation fault entries or crashes involving cplus-dem or libiberty-linked binaries; correlate with unexpected high-privilege local sessions around the time of the incident.

What your security team should do

  • Immediately upgrade listed MySQL packages to the fixed 8.0.38-r0 releases
  • Restrict local access for untrusted high-privilege accounts until patches are applied
  • Monitor for process crashes in MySQL-related binaries as a temporary detection measure

The record

Buffer overflow in the do_type function in cplus-dem.c in libiberty allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 binutils 0 2.27.51.20161102-1
Debian:10 ht 0 2.1.0+repack1-1
Debian:10 libiberty 0 20161011-1
Debian:11 binutils 0 2.27.51.20161102-1
Debian:11 ht 0 2.1.0+repack1-1
Debian:11 libiberty 0 20161011-1
Debian:12 binutils 0 2.27.51.20161102-1
Debian:12 ht 0 2.1.0+repack1-1
Debian:12 libiberty 0 20161011-1
Debian:13 binutils 0 2.27.51.20161102-1
Debian:13 ht 0 2.1.0+repack1-1
Debian:13 libiberty 0 20161011-1
Debian:14 binutils 0 2.27.51.20161102-1
Debian:14 libiberty 0 20161011-1
Debian:7 binutils 0 2.22-8+deb7u3
Mageia:5 binutils 0 2.24-12.1.mga5
Mageia:5 gdb 0 7.8.1-7.1.mga5
Mageia:5 valgrind 0 3.10.1-2.1.mga5
Mageia:6 binutils 0 2.32-1.1.mga6
Ubuntu:14.04:LTS gdb 0 7.7.1-0ubuntu5~14.04.3
Ubuntu:14.04:LTS libiberty 0 20131116-1ubuntu0.2
Ubuntu:14.04:LTS valgrind 0 1:3.10.1-1ubuntu3~14.5
Ubuntu:16.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:16.04:LTS gcc-arm-none-eabi 0 No fix
Ubuntu:16.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:16.04:LTS gccxml 0 No fix
Ubuntu:16.04:LTS gdb 0 7.11.1-0ubuntu1~16.5
Ubuntu:16.04:LTS ht 0 No fix
Ubuntu:16.04:LTS libiberty 0 20160215-1ubuntu0.2
Ubuntu:16.04:LTS nescc 0 No fix
Ubuntu:16.04:LTS sdcc 0 No fix
Ubuntu:16.04:LTS valgrind 0 1:3.11.0-1ubuntu4.2
Ubuntu:18.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:18.04:LTS gcc-arm-none-eabi 0 No fix
Ubuntu:18.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:18.04:LTS nescc 0 No fix
Ubuntu:18.04:LTS sdcc 0 No fix
Ubuntu:20.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:20.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:20.04:LTS nescc 0 No fix
Ubuntu:22.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:22.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:22.04:LTS nescc 0 No fix
Ubuntu:24.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:24.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:24.10 binutils-h8300-hms 0 No fix
Ubuntu:24.10 gcc-h8300-hms 0 No fix
Ubuntu:25.04 binutils-h8300-hms 0 No fix
Ubuntu:25.04 gcc-h8300-hms 0 No fix
Ubuntu:25.10 binutils-h8300-hms 0 No fix
Ubuntu:25.10 gcc-h8300-hms 0 No fix
Ubuntu:Pro:14.04:LTS binutils 0 No fix
Ubuntu:Pro:16.04:LTS binutils 0 2.26.1-1ubuntu1~16.04.8+esm1
Ubuntu:Pro:16.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:Pro:16.04:LTS gcc-arm-none-eabi 0 No fix
Ubuntu:Pro:16.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:Pro:16.04:LTS gccxml 0 No fix
Ubuntu:Pro:16.04:LTS ht 0 No fix
Ubuntu:Pro:16.04:LTS nescc 0 No fix
Ubuntu:Pro:16.04:LTS sdcc 0 No fix
Ubuntu:Pro:18.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:Pro:18.04:LTS gcc-arm-none-eabi 0 No fix
Ubuntu:Pro:18.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:Pro:18.04:LTS nescc 0 No fix
Ubuntu:Pro:18.04:LTS sdcc 0 No fix
Ubuntu:Pro:20.04:LTS binutils-h8300-hms 0 No fix
Ubuntu:Pro:20.04:LTS gcc-h8300-hms 0 No fix
Ubuntu:Pro:20.04:LTS nescc 0 No fix

Related vulnerabilities