Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-8304

MEDIUM 5.9EPSS 97%

A denial of service vulnerability exists in Windows Domain Name System (DNS) DNSAPI.dll when it fails to properly handl…

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Microsoft Windows 7 32-bit Systems Service Pack 1; x64-based Systems Service Pack 1
  • Anyone running Microsoft Windows Server 2012 R2 (Server Core installation)
  • Anyone running Microsoft Windows RT 8.1 Windows RT 8.1
  • Anyone running Microsoft Windows Server 2008 32-bit Systems Service Pack 2; 32-bit Systems Service Pack 2 (Server Core installation); Itanium-Based Systems Service Pack 2; x64-based Systems Service Pack 2; x64-based Systems Service Pack 2 (Server Core installation)
  • Anyone running Microsoft Windows Server 2012 (Server Core installation)
  • Anyone running Microsoft Windows 8.1 32-bit systems; x64-based systems
  • Anyone running Microsoft Windows Server 2016 (Server Core installation)
  • Anyone running Microsoft Windows Server 2008 R2 Itanium-Based Systems Service Pack 1; x64-based Systems Service Pack 1; x64-based Systems Service Pack 1 (Server Core installation)

Vulnerability facts

Affected
Microsoft Windows 7 32-bit Systems Service Pack 1; x64-based Systems Service Pack 1; Microsoft Windows Server 2012 R2 (Server Core installation); Microsoft Windows RT 8.1 Windows RT 8.1; Microsoft Windows Server 2008 32-bit Systems Service Pack 2; 32-bit Systems Service Pack 2 (Server Core installation); Itanium-Based Systems Service Pack 2; x64-based Systems Service Pack 2; x64-based Systems Service Pack 2 (Server Core installation); Microsoft Windows Server 2012 (Server Core installation); Microsoft Windows 8.1 32-bit systems; x64-based systems; Microsoft Windows Server 2016 (Server Core installation); Microsoft Windows Server 2008 R2 Itanium-Based Systems Service Pack 1; x64-based Systems Service Pack 1; x64-based Systems Service Pack 1 (Server Core installation); Microsoft Windows 10 32-bit Systems; Version 1607 for 32-bit Systems; Version 1607 for x64-based Systems; Version 1703 for 32-bit Systems; Version 1703 for x64-based Systems; Version 1709 for 32-bit Systems; Version 1709 for x64-based Systems; x64-based Systems; Microsoft Windows 10 Servers version 1709 (Server Core Installation)
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.9 (v3.0, NVD)CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
12.61% chance of exploitation in 30 days (percentile 97, 2026-11-26)
Published
Modified

Description

A denial of service vulnerability exists in Windows Domain Name System (DNS) DNSAPI.dll when it fails to properly handle DNS responses, aka "Windows DNSAPI Denial of Service Vulnerability." This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 2008, Windows Server 2012, Windows 8.1, Windows Server 2016, Windows Server 2008 R2, Windows 10, Windows 10 Servers.

Affected and fixed versions

Package / productAffectedFixedSource
Microsoft Windows 732-bit Systems Service Pack 1; x64-based Systems Service Pack 1—cvelist
Microsoft Windows Server 2012 R2(Server Core installation)—cvelist
Microsoft Windows RT 8.1Windows RT 8.1—cvelist
Microsoft Windows Server 200832-bit Systems Service Pack 2; 32-bit Systems Service Pack 2 (Server Core installation); Itanium-Based Systems Service Pack 2; x64-based Systems Service Pack 2; x64-based Systems Service Pack 2 (Server Core installation)—cvelist
Microsoft Windows Server 2012(Server Core installation)—cvelist
Microsoft Windows 8.132-bit systems; x64-based systems—cvelist
Microsoft Windows Server 2016(Server Core installation)—cvelist
Microsoft Windows Server 2008 R2Itanium-Based Systems Service Pack 1; x64-based Systems Service Pack 1; x64-based Systems Service Pack 1 (Server Core installation)—cvelist
Microsoft Windows 1032-bit Systems; Version 1607 for 32-bit Systems; Version 1607 for x64-based Systems; Version 1703 for 32-bit Systems; Version 1703 for x64-based Systems; Version 1709 for 32-bit Systems; Version 1709 for x64-based Systems; x64-based Systems—cvelist
Microsoft Windows 10 Serversversion 1709 (Server Core Installation)—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-8304. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-8304.md
Affected: Microsoft Windows 7 32-bit Systems Service Pack 1; x64-based Systems Service Pack 1; Microsoft Windows Server 2012 R2 (Server Core installation); Microsoft Windows RT 8.1 Windows RT 8.1; Microsoft Windows Server 2008 32-bit Systems Service Pack 2; 32-bit Systems Service Pack 2 (Server Core installa…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Microsoft Windows 7, Microsoft Windows Server 2012 R2, Microsoft Windows RT 8.1, Microsoft Windows Server 2008, Microsoft Windows Server 2012, Microsoft Windows 8.1: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-8304 being exploited?

There is no confirmed exploitation: CVE-2018-8304 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 12.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-8304?

Medium: CVSS 5.9 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2018-8304?

Microsoft Windows 7 32-bit Systems Service Pack 1; x64-based Systems Service Pack 1; Microsoft Windows Server 2012 R2 (Server Core installation); Microsoft Windows RT 8.1 Windows RT 8.1; Microsoft Windows Server 2008 32-bit Systems Service Pack 2; 32-bit Systems Service Pack 2 (Server Core installation); Itanium-Based Systems Service Pack 2; x64-based Systems Service Pack 2; x64-based Systems Service Pack 2 (Server Core installation); Microsoft Windows Server 2012 (Server Core installation); Microsoft Windows 8.1 32-bit systems; x64-based systems; Microsoft Windows Server 2016 (Server Core installation); Microsoft Windows Server 2008 R2 Itanium-Based Systems Service Pack 1; x64-based Systems Service Pack 1; x64-based Systems Service Pack 1 (Server Core installation); Microsoft Windows 10 32-bit Systems; Version 1607 for 32-bit Systems; Version 1607 for x64-based Systems; Version 1703 for 32-bit Systems; Version 1703 for x64-based Systems; Version 1709 for 32-bit Systems; Version 1709 for x64-based Systems; x64-based Systems; Microsoft Windows 10 Servers version 1709 (Server Core Installation).

Is there a fix for CVE-2018-8304?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2018-8304?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors