Intel

AIKIDO-2026-774596

duckdb.duckdb is vulnerable to Use of a Broken or Risky Cryptographic Algorithm

Use of a Broken or Risky Cryptographic AlgorithmCVE-2025-64429 Published Yesterday

65

Medium Risk

This Affects:

C++duckdb.duckdb
1.4.0 - 1.4.1
Fixed in 1.4.2
Are you affected? Scan for Free

TL;DR

DuckDB's block-based filesystem encryption contains several cryptographic weaknesses. It can fall back to a non-cryptographic pcg32 random number generator to derive keys and IVs, clears key material with a memset call the compiler may remove, and does not verify the return value of OpenSSL rand_bytes. The database header selects the cipher, so the mode can also be downgraded from GCM to CTR to bypass integrity checks. The fix stops using the insecure fallback RNG, zeroes memory with a secure primitive, checks the RNG return code, and requires explicit opt-in for integrity-free ciphers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

duckdb.duckdb is vulnerable to Use of a Broken or Risky Cryptographic Algorithm in versions 1.4.0 - 1.4.1.

How to fix this

Upgrade the duckdb.duckdb library to the patch version.