All reports
Medium

unbound: command injection with data coming from a specially crafted IPSECKEY answer

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-18934

Probability of exploitation in the next 30 days: 3.20%

FIRST EPSS · 2026-11-20

Description

Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiving a specially crafted answer. This issue can only be triggered if unbound was compiled with --enable-ipsecmod support, and ipsecmod is enabled and used in the configuration.

A shell command injection vulnerability was discovered in the way unbound handles DNS queries for systems with a public key used for IPsec. When ipsecmod is enabled, a malicious DNS server could send a DNS reply which would be used during a following DNS query to execute shell commands with the privileges of the unbound process. The same attack could be performed by an attacker who can modify data transmitted over the network, before it reaches the unbound server, if DNSSEC is not used.