Skip to content
Threat Brief

← All advisories

CVE-2026-61477

Low 2.3No known exploitationFix status unknown

Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection

Record last updated

CVSS score

2.3

Low on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 6% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These values are written verbatim into the dnsmasq configuration file generated by the network driver, allowing a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, leading to arbitrary command execution as root.

Weakness: CWE-93

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat Enterprise Linux 10Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 6Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux for NVIDIA 26Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references