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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux for NVIDIA 26 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libvirt | 12.6.0-1 | — |
| Debian 13 | libvirt | 11.3.0-3+deb13u3 | — |
| Debian 12 | libvirt | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libvirt | 12.0.0-1ubuntu5.3 | USN-8652-1 |
| Ubuntu 26.04 LTS | libvirt-hwe | 12.0.0-1ubuntu5.5 | USN-8833-1 |
| Ubuntu 24.04 LTS | libvirt | 10.0.0-2ubuntu8.16 | USN-8652-1 |
| Ubuntu 22.04 LTS | libvirt | 8.0.0-1ubuntu7.19 | USN-8652-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libvirt | 6.0.0-0ubuntu8.20+esm1 | USN-8652-1 |
| Ubuntu Pro 18.04 LTS | libvirt | 4.0.0-1ubuntu8.21+esm1 | USN-8652-1 |
| Ubuntu Pro 16.04 LTS | libvirt | 1.3.1-1ubuntu10.31+esm1 | USN-8652-1 |
| Ubuntu Pro 14.04 LTS | libvirt | 1.2.2-0ubuntu13.1.28+esm2 | USN-8652-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libvirt | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SLES 15 SP6 | libvirt | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SLES 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLES 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLES 12 SP5 | libvirt | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23603-1 |
| SLES for SAP 15 SP6 | libvirt | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SLES for SAP 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLES for SAP 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLES 16.0 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23603-1 |
| SLE Micro 6.2 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23460-1 |
| SLE Micro 6.1 | libvirt | 10.0.0-slfo.1.1_3.1 | SUSE-SU-2026:23515-1 |
| SLE Micro 6.0 | libvirt | 10.0.0-5.1 | SUSE-SU-2026:23445-1 |
| SLE Micro 5.5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLE Micro 5.4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLE Micro 5.3 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLE HPC 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLE HPC 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | libvirt | 11.4.0-160000.5.1 | openSUSE-SU-2026:21738-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libvirt +30 | 4.5.0-36.amzn2.3.3 | ALAS2-2026-3873 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libvirt | 11.9.0-1 | — |
Advisories 13
- SUSE-SU-2026:23603-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:4141-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 28, 2026
- USN-8833-1 libvirt-hwe vulnerabilities Ubuntu Security Notices (USN) · Sep 28, 2026
- SUSE-SU-2026:23515-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:23460-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:23445-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:4009-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4010-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4004-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:3939-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 10, 2026
- openSUSE-SU-2026:21738-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 9, 2026
- ALAS2-2026-3873 Important: libvirt security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 31, 2026
- USN-8652-1 libvirt vulnerabilities Ubuntu Security Notices (USN) · Aug 20, 2026