CVE-2026-61477
LOW 2.3CVSS 3.1Libvirt: libvirt: newline injection in network xml dns txt/srv fields allows dnsmasq config directive injection
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.
- Published
- 7 Aug 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-93
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 2.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| CVE List | redhat | CVSS 3.1 | LOW 2.3 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:rhel_els:6 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | virt:rhel/libvirtcpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/a:redhat:enterprise_linux_nvidia: |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2026-61477 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2512066 · issue-tracking, x_refsource_REDHAT
- https://gitlab.com/libvirt/libvirt/-/commit/3cfc77963b512d809348fca07f97fe924fac9a05
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 7 Aug 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Aug 2026)