Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829895 (CVE-2021-3622) - <app-misc/hivex-1.3.21: stack overflow vulnerability
Summary: <app-misc/hivex-1.3.21: stack overflow vulnerability
Alias: CVE-2021-3622
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
Whiteboard: ~3 [cleanup]
Depends on:
Reported: 2021-12-24 04:50 UTC by John Helmert III
Modified: 2022-05-16 05:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-24 04:50:15 UTC

A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would cause hivex to recursively call the _get_children() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability.

Fix in 1.3.21.
Comment 1 Larry the Git Cow gentoo-dev 2022-05-16 05:10:46 UTC
The bug has been referenced in the following commit(s):

commit ce015eb0250ff86761763e403def26e9bb9db039
Author:     Sam James <>
AuthorDate: 2022-05-16 04:46:37 +0000
Commit:     Sam James <>
CommitDate: 2022-05-16 04:46:37 +0000

    app-misc/hivex: add 1.3.21
    Signed-off-by: Sam James <>

 app-misc/hivex/Manifest            |   1 +
 app-misc/hivex/hivex-1.3.21.ebuild | 124 +++++++++++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+)