CVE-2021-3504
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.84% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 78.9% of scored records. A rank, not a probability.
- NVD base score
- 5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-05-11 22:30Z5 YR AGO
- Last updated
- 2024-08-03 16:53Z2 YR AGO
- Reserved
- 2021-04-16
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.1
- Document digest
- daead5e3c0541ea6da70d9f6c55c337bc383bdcc1d78cfb490ceb6c54f779e3a
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1949687
- lists.debian.org[debian-lts-announce] 20210511 [SECURITY] [DLA 2656-1] hivex security updatehttps://lists.debian.org/debian-lts-announce/2021/05/msg00011.html
- lists.fedoraproject.orgFEDORA-2021-b71cc4df92https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5BNKNVYFL36P2GBEB5O36LHFRYU575H/
- lists.fedoraproject.orgFEDORA-2021-da76643229https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQXTEACRWYAZVNEOIWIYUFGG4GOXSQ22/
07 Fixed in
AlmaLinux 8
- libguestfs-winsupport Fixed in 8.2-1.module_el8.5.0+2608+72063365
- libiscsi Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-utils Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libnbd Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- libnbd-devel Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- libvirt-dbus Fixed
A version is affected if any line below covers it.
- Affected before 1.3.0-2.module_el8.5.0+2608+72063365
- Affected before 1.3.0-2.module_el8.6.0+2880+7d9e3703
- nbdfuse Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- nbdkit Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-bash-completion Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-basic-filters Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-basic-plugins Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-curl-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-devel Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-example-plugins Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-gzip-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-linuxdisk-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-python-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-server Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-ssh-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-vddk-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-xz-filter Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- netcf Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- netcf-devel Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- netcf-libs Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- perl-Sys-Virt Fixed in 6.0.0-1.module_el8.5.0+2608+72063365
- python3-libnbd Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- python3-libvirt Fixed in 6.0.0-1.module_el8.5.0+2608+72063365
- seabios Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- seabios-bin Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- seavgabios-bin Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- sgabios Fixed
A version is affected if any line below covers it.
- Affected before 1:0.20170427git-3.module_el8.5.0+2608+72063365
- Affected before 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703
- sgabios-bin Fixed
A version is affected if any line below covers it.
- Affected before 1:0.20170427git-3.module_el8.5.0+2608+72063365
- Affected before 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703
- supermin Fixed in 5.1.19-10.module_el8.5.0+2608+72063365
- supermin-devel Fixed in 5.1.19-10.module_el8.5.0+2608+72063365
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- hivex Fixed in 1.3.20-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- libguestfs-winsupport Fixed in 8.2-1.module_el8.5.0+2608+72063365
- libiscsi Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-devel Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-utils Fixed
A version is affected if any line below covers it.
- Affected before 1.18.0-8.module_el8.5.0+2608+72063365
- Affected before 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libnbd Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- libnbd-devel Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- libvirt-dbus Fixed
A version is affected if any line below covers it.
- Affected before 1.3.0-2.module_el8.5.0+2608+72063365
- Affected before 1.3.0-2.module_el8.6.0+2880+7d9e3703
- nbdfuse Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- nbdkit Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-bash-completion Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-basic-filters Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-basic-plugins Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-curl-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-devel Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-example-plugins Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-gzip-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-linuxdisk-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-python-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-server Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-ssh-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-vddk-plugin Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- nbdkit-xz-filter Fixed in 1.16.2-4.module_el8.5.0+2608+72063365
- netcf Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- netcf-devel Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- netcf-libs Fixed
A version is affected if any line below covers it.
- Affected before 0.2.8-12.module_el8.5.0+2608+72063365
- Affected before 0.2.8-12.module_el8.6.0+2880+7d9e3703
- perl-Sys-Virt Fixed in 6.0.0-1.module_el8.5.0+2608+72063365
- python3-libnbd Fixed in 1.2.2-1.module_el8.5.0+2608+72063365
- python3-libvirt Fixed in 6.0.0-1.module_el8.5.0+2608+72063365
- seabios Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- seabios-bin Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- seavgabios-bin Fixed in 1.13.0-2.module_el8.5.0+2608+72063365
- sgabios Fixed
A version is affected if any line below covers it.
- Affected before 1:0.20170427git-3.module_el8.5.0+2608+72063365
- Affected before 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703
- sgabios-bin Fixed
A version is affected if any line below covers it.
- Affected before 1:0.20170427git-3.module_el8.5.0+2608+72063365
- Affected before 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703
- supermin Fixed in 5.1.19-10.module_el8.5.0+2608+72063365
- supermin-devel Fixed in 5.1.19-10.module_el8.5.0+2608+72063365
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- hivex Fixed in 1.3.20-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- hivex Fixed in 1.3.20-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- hivex Fixed in 1.3.20-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- hivex Fixed in 1.3.15-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- hivex Fixed in 1.3.18-2ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- hivex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- hivex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- hivex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- hivex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- hivex No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- hivex Fixed in 1.3.9-2ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- hivex Fixed in 1.3.13-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.