CVE-2016-9427
Critical · 9.8CVSS
9.8
EPSS
4.1%
Published
Dec 12, 2016
CISA due date
—
Cloudanix analysis
A flaw in a widely used memory-management library can let attackers crash programs or potentially take control of systems by requesting very large amounts of memory.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in the bdwgc memory allocator during huge allocation requests leads to incorrect size calculations, resulting in a heap buffer overflow that can crash the client process or allow arbitrary code execution.
Why it matters to the business
Applications depending on the affected library may experience unexpected crashes that disrupt service availability or, in successful exploitation cases, allow attackers to execute code and compromise system integrity.
How an attack unfolds
An attacker identifies a network-accessible service that uses the vulnerable bdwgc version and crafts a request containing an extremely large allocation size; the integer overflow bypasses bounds checks, corrupting heap metadata and enabling either a denial-of-service crash or injection of attacker-controlled code.
How to fix it
Upgrade to a version containing the bdwgc fix released after 2016-09-27; for flux-helm-controller-0.37 (Chainguard) apply the update to 0.27.0-r7 or later.
How to confirm the fix worked
Verify the running binary or package reports a fixed bdwgc version; recompile or rebuild containers with updated dependencies and confirm allocation paths no longer permit oversized requests without proper error handling.
Typical attack path
- Identify reachable service or application linked against vulnerable bdwgc
- Send crafted request with oversized allocation parameter
- Trigger integer overflow during size computation
- Cause heap buffer overflow leading to crash or code execution
- Establish persistence or exfiltrate data if code execution succeeds
How to detect it
Review application logs and memory allocator error messages for unexpected crashes during allocation; inspect process core dumps or heap corruption indicators on systems running unpatched versions; correlate with network traffic containing unusually large allocation parameters.
What your security team should do
- Immediately inventory all deployments using bdwgc or dependent packages and schedule upgrades to fixed versions
- Apply the specific Chainguard update to flux-helm-controller 0.27.0-r7 where applicable
- Add memory-allocation size validation and sandboxing around untrusted inputs as defense-in-depth
- Monitor for downstream package updates and rebuild CI pipelines to prevent reintroduction of the vulnerable library
The record
Integer overflow vulnerability in bdwgc before 2016-09-27 allows attackers to cause client of bdwgc denial of service (heap buffer overflow crash) and possibly execute arbitrary code via huge allocation.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libgc | 0 | 1:7.6.4-0.3 |
| Debian:12 | libgc | 0 | 1:7.6.4-0.3 |
| Debian:13 | libgc | 0 | 1:7.6.4-0.3 |
| Debian:7 | libgc | 0 | 1:7.1-9.1+deb7u1 |
| Debian:9 | libgc | 0 | 1:7.4.2-8+deb9u1 |
| Mageia:5 | gc | 0 | 7.4.2-3.1.mga5 |
| Mageia:5 | w3m | 0 | 0.5.3-8.2.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Server 12 SP1 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Server 12 SP2 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | gc | 0 | 7.2d-5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | gc | 0 | 7.2d-5.1 |
| Ubuntu:14.04:LTS | libgc | 0 | 1:7.2d-5ubuntu2.1 |
| Ubuntu:16.04:LTS | libgc | 0 | 1:7.4.2-7.3ubuntu0.1 |
Related vulnerabilities
- CVE-2016-9422 An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. Also affects w3m
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119
- CVE-2026-87933 A vulnerability was found in DaveGamble cJSON up to 1.7.19. CWE-119