CVE Vulnerabilities

CVE-2016-0746

Use After Free

Published: Feb 15, 2016 | Modified: Apr 12, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
5.1 MODERATE
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

Use-after-free vulnerability in the resolver in nginx 0.6.18 through 1.8.0 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (worker process crash) or possibly have unspecified other impact via a crafted DNS response related to CNAME response processing.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Nginx F5 0.6.18 (including) 1.8.0 (including)
Nginx F5 1.9.0 (including) 1.9.10 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-nginx18-nginx-1:1.8.1-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-nginx18-nginx-1:1.8.1-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-nginx18-nginx-1:1.8.1-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nginx18-nginx-1:1.8.1-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-nginx18-nginx-1:1.8.1-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-nginx18-nginx-1:1.8.1-1.el7 *
Nginx Ubuntu devel *
Nginx Ubuntu esm-infra-legacy/trusty *
Nginx Ubuntu esm-infra/xenial *
Nginx Ubuntu precise *
Nginx Ubuntu trusty *
Nginx Ubuntu trusty/esm *
Nginx Ubuntu upstream *
Nginx Ubuntu vivid *
Nginx Ubuntu wily *
Nginx Ubuntu xenial *
Nginx Ubuntu yakkety *
Nginx Ubuntu zesty *

Potential Mitigations

References