If public api virConnectListAllDomains() with second parameter set to NULL to get only the number of domains is used, it will lock out all other operations with domains.
A remote attacker able to establish a read-only connection to libvirtd could use this flaw to cause libvirtd denial of service.
Introduced by: http://libvirt.org/git/?p=libvirt.git;a=commit;h=2c680804
It was found that when a disk is attached to a disk "live" (thus not written into the persistent configuration) and then the statistics for the disks are requested from the persistent configuration, index to the array is determined from the live configuration but used in the persistent.
A remote attacker able to establish a read-only connection to libvirtd could use this flaw to crash libvirtd or, potentially, leak memory from the libvirtd process.
Acknowledgements:
This issue was discovered by Luyao Huang of Red Hat.