CVE-2016-4489
Medium · 5.5CVSS
5.5
EPSS
1.7%
Published
Feb 24, 2017
CISA due date
—
Cloudanix analysis
A problem in a helper library used by some WordPress setups can let attackers crash the service by feeding it a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in the gnu_special function within libiberty triggers a segmentation fault during virtual table demangling when processing a crafted binary, resulting in process crash and denial of service.
Why it matters to the business
Applications or services that rely on the affected library for binary processing can experience unexpected crashes, leading to operational downtime and potential loss of availability for dependent systems such as certain WordPress multisite deployments.
How an attack unfolds
An attacker crafts a malicious binary file containing malformed data targeting the virtual table demangling path, then supplies it to a vulnerable application or service that invokes the libiberty function, causing the integer overflow and immediate crash without requiring elevated privileges.
How to fix it
Upgrade affected installations to the fixed versions provided for the product: wordpress-multisite (Bitnami) 4.1.40 or 6.4.3. Apply vendor patches that update the bundled libiberty component and verify removal of the vulnerable code path.
How to confirm the fix worked
Confirm the installed product version matches a fixed release, reprocess known-good binaries to ensure stability, and attempt reproduction with a minimal crafted test binary in a controlled environment to verify the crash condition is resolved.
Typical attack path
- Identify an application or service using the vulnerable libiberty version for symbol demangling
- Prepare a specially crafted binary that triggers the integer overflow in gnu_special
- Deliver the binary to the target via local file access or user-interaction vectors such as uploads or processing requests
- Trigger demangling of the binary contents to induce segmentation fault and denial of service
How to detect it
Inspect application and system logs for segmentation fault entries or crashes occurring during symbol demangling operations; correlate with file processing events involving untrusted binaries. No widespread exploitation artifacts are known given the vulnerability's age and lack of KEV listing.
What your security team should do
- Prioritize upgrade of all instances to the specified fixed versions due to the age of the vulnerability and potential for availability impact
- Review any custom or third-party components that invoke libiberty demangling functions and replace or isolate them
- Monitor application stability logs for segmentation faults during binary processing as a temporary detection measure
- Limit exposure by restricting untrusted binary inputs to affected services until patches are applied
The record
Integer overflow in the gnu_special function in libiberty allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary, related to the "demangling of virtual tables."
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-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-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
- CVE-2021-3826 Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty… Also affects binutils
- CVE-2022-38533 In GNU Binutils before 2.40, there is a heap-buffer-overflow in the error function… Also affects binutils
- CVE-2017-17122 The dump_relocs_in_section function in objdump.c in GNU Binutils 2.29.1 does not check… Also affects binutils
- CVE-2017-17123 The coff_slurp_reloc_table function in coffcode.h in the Binary File Descriptor (BFD)… Also affects binutils
- CVE-2017-17124 The _bfd_coff_read_string_table function in coffgen.c in the Binary File Descriptor (BFD)… Also affects binutils
- CVE-2017-17125 nm.c and objdump.c in GNU Binutils 2.29.1 mishandle certain global symbols, which allows… Also affects binutils
- CVE-2017-17126 The load_debug_section function in readelf.c in GNU Binutils 2.29.1 allows remote… Also affects binutils
- CVE-2017-17121 The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils… Also affects binutils