Skip to content
Noroxi
CVE-2017-14491· NVD / CVE Program· CNA mitre

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response.

CriticalCVSS 9.8 · v3.1—Proof of concept Fix available
Published
Oct 3, 2017
Updated
Jun 16, 2026
EPSS
84.9% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

64

This week

Don’t wait for the next maintenance window.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
25 / 30 · 84.9%

Affected systems

VendorProduct
thekelleysdnsmasq
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux workstation
canonicalubuntu linux
debiandebian linux
opensuseleap
suselinux enterprise debuginfo
suselinux enterprise point of sale
suselinux enterprise server
nvidialinux for tegra
nvidiajetson tk1

and 17 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • arista eos4.18 and later · up to 4.18.4.2f inclusive
  • arista eosup to 4.15 inclusive
  • arista eos4.16 and later · before 4.16.13m
  • arista eos4.17 and later · before 4.17.8m
  • arubanetworks arubaos6.5.0.0 and later · before 6.5.1.9
  • arubanetworks arubaos8.1.0.0 and later · before 8.1.0.4
  • arubanetworks arubaos6.5.4.0 and later · before 6.5.4.2
  • arubanetworks arubaos6.3.1 and later · before 6.3.1.25
  • arubanetworks arubaos6.4.4.0 and later · before 6.4.4.16
  • arubanetworks arubaos6.5.3.0 and later · before 6.5.3.3
  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux17.04
  • debian debian linux7.0
  • debian debian linux7.1
  • debian debian linux8.0
  • debian debian linux9.0
  • huawei honor v9 play firmwarebefore jimmy-al00ac00b135
  • nvidia geforce experience3.0 and later · before 3.10.0.55

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10dnsmasqbefore 2.78-r02.78-r0
Alpine:v3.3dnsmasqbefore 2.76-r12.76-r1
Alpine:v3.5dnsmasqbefore 2.76-r22.76-r2
Alpine:v3.6dnsmasqbefore 2.76-r52.76-r5
Debian:12dnsmasqbefore 2.78-12.78-1
Debian:7dnsmasqbefore 2.62-3+deb7u42.62-3+deb7u4
Debian:8dnsmasqbefore 2.72-3+deb8u22.72-3+deb8u2
Debian:9dnsmasqbefore 2.76-5+deb9u12.76-5+deb9u1
openSUSE:Tumbleweeddnsmasqbefore 2.86-1.12.86-1.1
Red Hat:enterprise_linux:6::clientdnsmasqbefore 0:2.48-18.el6_90:2.48-18.el6_9
Red Hat:enterprise_linux:6::clientdnsmasq-debuginfobefore 0:2.48-18.el6_90:2.48-18.el6_9
Red Hat:enterprise_linux:6::clientdnsmasq-utilsbefore 0:2.48-18.el6_90:2.48-18.el6_9
Red Hat:enterprise_linux:7::clientdnsmasqbefore 0:2.76-2.el7_4.20:2.76-2.el7_4.2
Red Hat:enterprise_linux:7::clientdnsmasq-debuginfobefore 0:2.76-2.el7_4.20:2.76-2.el7_4.2
Red Hat:enterprise_linux:7::clientdnsmasq-utilsbefore 0:2.76-2.el7_4.20:2.76-2.el7_4.2
Red Hat:rhel_aus:5.9dnsmasqbefore 0:2.45-2.el5_9.10:2.45-2.el5_9.1
Red Hat:rhel_aus:5.9dnsmasq-debuginfobefore 0:2.45-2.el5_9.10:2.45-2.el5_9.1
Red Hat:rhel_aus:6.4::serverdnsmasqbefore 0:2.48-13.el6_4.10:2.48-13.el6_4.1
Red Hat:rhel_aus:6.4::serverdnsmasq-debuginfobefore 0:2.48-13.el6_4.10:2.48-13.el6_4.1
Red Hat:rhel_aus:6.4::serverdnsmasq-utilsbefore 0:2.48-13.el6_4.10:2.48-13.el6_4.1
Red Hat:rhel_aus:6.5::serverdnsmasqbefore 0:2.48-13.el6_5.10:2.48-13.el6_5.1
Red Hat:rhel_aus:6.5::serverdnsmasq-debuginfobefore 0:2.48-13.el6_5.10:2.48-13.el6_5.1
Red Hat:rhel_aus:6.5::serverdnsmasq-utilsbefore 0:2.48-13.el6_5.10:2.48-13.el6_5.1
Red Hat:rhel_aus:6.6::serverdnsmasqbefore 0:2.48-14.el6_6.10:2.48-14.el6_6.1

+19

Other highest-scoring records for the same primary product.

  • CVE-2020-25681A flaw was found in dnsmasq before version 2.83.
    56Plan
  • CVE-2020-25682A flaw was found in dnsmasq before 2.83.
    53Plan
  • CVE-2020-25687A flaw was found in dnsmasq before version 2.83.
    49Plan
  • CVE-2020-25683A flaw was found in dnsmasq before version 2.83.
    49Plan
  • CVE-2021-45957Dnsmasq 2.86 has a heap-based buffer overflow in answer_request (called from FuzzAnswerTheRequest and fuzz_rfc1035.c).
    40Plan
  • CVE-2021-45956Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:dnsmasq2.78-r0 · Alpine:v3.10Package registry (OSV)
debian:dnsmasq2.78-1 · Debian:12Package registry (OSV)
opensuse:dnsmasq2.86-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:dnsmasq0:2.76-2.el7_4.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:dnsmasq-debuginfo0:2.76-2.el7_4.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:dnsmasq-utils0:2.76-2.el7_4.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:dnsmasq2.78-6.6.1 · SUSE:Linux Enterprise Server 12-LTSSPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2017-10-02
Proof-of-concept repository on GitHubstars:02017-10-30

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-2 d
  2. Published
  3. TodaySep 30, 2026+3284 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records