CRLF Injection Affecting libvirt package, versions <12.0.0-1ubuntu5.3


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-LIBVIRT-18584966
  • published15 Aug 2026
  • disclosed7 Aug 2026

Introduced: 7 Aug 2026

CVE-2026-61477  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 libvirt to version 12.0.0-1ubuntu5.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1