Out-of-bounds Read The advisory has been revoked - it doesn't affect any version of package hivex  (opens in a new tab)


Threat Intelligence

EPSS
1.85% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-HIVEX-9820102
  • published26 Apr 2025
  • disclosed11 May 2021

Introduced: 11 May 2021

CVE-2021-3504  (opens in a new tab)
CWE-125  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hivex package and not the hivex package as distributed by Ubuntu.

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.