Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-64429
duckdb

Score6.9 Medium
CVSS 4.0
Exploit probability (EPSS)0.19%
within the next 30 days
CategoryCryptographic weakness
Published12 November 2025
Last modified: 19 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

Impact is limited: reading confidential data, modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

DuckDB is a SQL database management system. DuckDB implemented block-based encryption of DB on the filesystem starting with DuckDB 1.4.0. There are a few issues related to this implementation. The DuckDB can fall back to an insecure random number generator (pcg32) to generate cryptographic keys or IVs. When clearing keys from memory, the compiler may remove the memset() and leave sensitive data on the heap. By modifying the database header, an attacker could downgrade the encryption mode from GCM to CTR to bypass integrity checks. There may be a failure to check return value on call to OpenSSL `rand_bytes()`. An attacker could use public IVs to compromise the internal state of RNG and determine the randomly generated key used to encrypt temporary files, get access to cryptographic keys if they have access to process memory (e.g. through memory leak),circumvent GCM integrity checks, and/or influence the OpenSSL random number generator and DuckDB would not be able to detect a failure of the generator. Version 1.4.2 has disabled the insecure random number generator by no longer using the fallback to write to or create databases. Instead, DuckDB will now attempt to install and load the OpenSSL implementation in the `httpfs` extension. DuckDB now uses secure MbedTLS primitive to clear memory as recommended and requires explicit specification of ciphers without integrity checks like CTR on `ATTACH`. Additionally, DuckDB now checks the return code.

CVSS: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-327

Affected products

VendorProductVersions
duckdbduckdb>=1.4.0 <1.4.2

Sources

Latest in the same category

  • CVE-2026-139881 Medium 6.3
    libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-137021 High 8.2
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-81069 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Insufficiently Random Values vulnerability. A low privileged local attacker could potentially exploit this vulnerability,…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-107967 Low 0.9
    HCL Verse for Android included a decryption code for compatibility with locally stored values and attachment files created by older application versions (no longer used for data stored by newer versions). HCL Verse for…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-80509 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of a Broken or Risky Cryptographic Algorithm vulnerability. A low privileged local attacker could potentially exploit this…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-137564 High 8.2
    web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for…
    Cryptographic weakness · 26 November 2026