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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
NginxF50.6.18 (including)1.8.0 (including)
NginxF51.9.0 (including)1.9.10 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-nginx18-nginx-1:1.8.1-1.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUSRedHatrh-nginx18-nginx-1:1.8.1-1.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSRedHatrh-nginx18-nginx-1:1.8.1-1.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nginx18-nginx-1:1.8.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSRedHatrh-nginx18-nginx-1:1.8.1-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSRedHatrh-nginx18-nginx-1:1.8.1-1.el7*
NginxUbuntudevel*
NginxUbuntuesm-infra-legacy/trusty*
NginxUbuntuesm-infra/xenial*
NginxUbuntuprecise*
NginxUbuntutrusty*
NginxUbuntutrusty/esm*
NginxUbuntuupstream*
NginxUbuntuvivid*
NginxUbuntuwily*
NginxUbuntuxenial*
NginxUbuntuyakkety*
NginxUbuntuzesty*

Potential Mitigations

References