Description
A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function. An attacker could input a specially crafted Windows Registry (hive) file which would cause hivex to read memory beyond its normal bounds or cause the program to crash. The highest threat from this vulnerability is to system availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | hivex | hivex-1.3.20 | — |
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 | hivex | 1.3.20-1 | — |
| Debian 13 | hivex | 1.3.20-1 | — |
| Debian 12 | hivex | 1.3.20-1 | — |
| Debian 10 | hivex | 1.3.18-1+deb10u1 | DSA-4913-1 |
| Debian 9 | hivex | 1.3.13-2+deb9u1 | DLA-2656-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | hivex | No fix yet | — |
| Ubuntu 26.04 LTS | hivex | No fix yet | — |
| Ubuntu 25.10 | hivex | No fix yet | — |
| Ubuntu 24.04 LTS | hivex | No fix yet | — |
| Ubuntu 22.04 LTS | hivex | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | hivex | 1.3.18-2ubuntu0.1 | USN-5148-1 |
| Ubuntu 18.04 LTS | hivex | 1.3.15-1ubuntu0.1 | USN-5148-1 |
| Ubuntu Pro 16.04 LTS | hivex | 1.3.13-1ubuntu0.1~esm1 | USN-5148-2 |
| Ubuntu Pro 14.04 LTS | hivex | 1.3.9-2ubuntu0.1~esm1 | USN-5148-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | SLOF | 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| RHEL 8 | hivex +6 | 1.3.18-21.module+el8.4.0+10770+19c037f9 | RHSA-2021:3061 |
| RHEL 8 | libguestfs-winsupport | 8.2-1.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.1.0+4066+0f1aadab | RHSA-2021:3061 |
| RHEL 8 | libnbd +5 | 1.2.2-1.module+el8.3.0+7353+9de0a3cc | RHSA-2021:3061 |
| RHEL 8 | libvirt +28 | 6.0.0-35.1.module+el8.4.0+11273+64eb94ef | RHSA-2021:3061 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| RHEL 8 | nbdkit +13 | 1.16.2-4.module+el8.3.0+6922+fd575af8 | RHSA-2021:3061 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.1.0+4066+0f1aadab | RHSA-2021:3061 |
| RHEL 8 | perl-Sys-Virt +2 | 6.0.0-1.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| RHEL 8 | qemu-img +10 | 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 | RHSA-2021:3061 |
| RHEL 8 | seabios +2 | 1.13.0-2.module+el8.3.0+7353+9de0a3cc | RHSA-2021:3061 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab | RHSA-2021:3061 |
| RHEL 8 | supermin +1 | 5.1.19-10.module+el8.3.0+6423+e4cb6418 | RHSA-2021:3061 |
| RHEL 8 | virt-dib +25 | 1:1.40.2-27.module+el8.4.0+9282+0bdec052 | RHSA-2021:3061 |
| RHEL 7 | hivex +6 | 1.3.10-6.11.el7_9 | RHSA-2021:2318 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libguestfs-winsupport | 8.2-1.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | libiscsi +2 | 1.18.0-8.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | libnbd +3 | 1.2.2-1.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | libvirt-dbus | 1.3.0-2.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | nbdkit +13 | 1.16.2-4.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | netcf +2 | 0.2.8-12.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | perl-Sys-Virt +1 | 6.0.0-1.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | seabios +2 | 1.13.0-2.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | sgabios +1 | 1:0.20170427git-3.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
| AlmaLinux 8 | supermin +1 | 5.1.19-10.module_el8.5.0+2608+72063365 | ALSA-2021:3061 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | hivex | 1.3.18-21.module+el8.4.0+642+7e26f5e1 | RLSA-2021:3061 |
| Rocky Linux 8 | libguestfs | 1:1.40.2-27.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | libnbd | 1.2.2-1.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | libvirt | 6.0.0-35.1.module+el8.4.0+642+7e26f5e1 | RLSA-2021:3061 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | nbdkit | 1.16.2-4.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | perl-Sys-Virt +1 | 6.0.0-1.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | qemu-kvm | 5:4.2.0-48.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | seabios | 1.13.0-2.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
| Rocky Linux 8 | supermin | 5.1.19-10.module+el8.4.0+534+4680a14e | RLSA-2021:3061 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | hivex | 1.3.14-5.3.1 | SUSE-SU-2021:1761-1 |
| SLES 15 SP2 | hivex | 1.3.14-5.3.1 | SUSE-SU-2021:1761-1 |
| SLES 12 SP5 | hivex | 1.3.10-5.3.1 | SUSE-SU-2021:1760-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | hivex | 1.3.10-5.3.1 | SUSE-SU-2021:1760-1 |
| SLE Micro 5.0 | hivex | 1.3.14-5.3.1 | SUSE-SU-2021:1761-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | hivex | 1.3.21-2.2 | openSUSE-SU-2024:10845-1 |
| openSUSE Leap 15.3 | hivex | 1.3.14-5.3.1 | openSUSE-SU-2021:1761-1 |
| openSUSE Leap 15.2 | hivex | 1.3.14-lp152.4.3.1 | openSUSE-SU-2021:0806-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | hivex | 1.3.19-r2 | — |
| Alpine v3.23 | hivex | 1.3.19-r2 | — |
| Alpine v3.22 | hivex | 1.3.19-r2 | — |
| Alpine v3.21 | hivex | 1.3.19-r2 | — |
| Alpine v3.20 | hivex | 1.3.19-r2 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | hivex | 1.3.19-r2 | — |
| Alpine v3.18 | hivex | 1.3.19-r2 | — |
| Alpine v3.17 | hivex | 1.3.19-r2 | — |
| Alpine v3.16 | hivex | 1.3.19-r2 | — |
| Alpine v3.15 | hivex | 1.3.19-r2 | — |
| Alpine v3.14 | hivex | 1.3.19-r2 | — |
| Alpine v3.13 | hivex | 1.3.19-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | hivex +6 | 1.3.10-6.11.amzn2 | ALAS2-2021-1658 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | hivex | 1.3.21-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | hivex +6 | 1.3.18-21.module+el8.4.0+20285+126f2e4b | ELSA-2021-3061 |
| Oracle Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | libnbd +5 | 1.2.2-1.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | libvirt +28 | 6.0.0-35.1.0.1.module+el8.4.0+20285+126f2e4b | ELSA-2021-3061 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | nbdkit +13 | 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | perl-Sys-Virt +1 | 6.0.0-1.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | qemu-img +10 | 15:4.2.0-48.module+el8.4.0+20285+126f2e4b.3 | ELSA-2021-3061 |
| Oracle Linux 8 | seabios +2 | 1.13.0-2.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | supermin +1 | 5.1.19-10.module+el8.3.0+7860+a7792d29 | ELSA-2021-3061 |
| Oracle Linux 8 | virt-dib +25 | 1:1.40.2-27.0.1.module+el8.4.0+20093+03a97712 | ELSA-2021-3061 |
| Oracle Linux 7 | hivex +6 | 1.3.10-6.11.el7_9 | ELSA-2021-2318 |
Advisories 16
- ALSA-2021:3061 Moderate: virt:rhel and virt-devel:rhel security and bug fix update AlmaLinux Security Advisories · Nov 2, 2026
- USN-5148-2 hivex vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2021:3061 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2021:2318 Red Hat Security Advisory: hivex security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-5148-1 hivex vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4913-1 hivex - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2656-1 hivex - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2021-3061 Low: virt:ol and virt-devel:ol security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 16, 2026
- RLSA-2021:3061 Moderate: virt:rhel and virt-devel:rhel security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2021:1761-1 Security update for hivex SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1760-1 Security update for hivex SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0806-1 Security update for hivex SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1761-1 Security update for hivex SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10845-1 hivex-1.3.21-2.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- ALAS2-2021-1658 Moderate: hivex security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 22, 2021
- ELSA-2021-2318 Moderate: hivex security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 10, 2021
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1949687
- [debian-lts-announce] 20210511 [SECURITY] [DLA 2656-1] hivex security update mailing-list
- FEDORA-2021-b71cc4df92 vendor-advisory
- FEDORA-2021-da76643229 vendor-advisory