CRLF Injection Affecting libvirt package, versions <0:4.5.0-36.amzn2.3.3


Severity

Recommended
high

Based on Amazon Linux 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-AMZN2-LIBVIRT-19456813
  • published1 Sept 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 Amazon-Linux:2 libvirt to version 0:4.5.0-36.amzn2.3.3 or higher.
This issue was patched in ALAS2-2026-3873.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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