CVE-2025-64429
Last modified
CVE-2025-64429 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. DuckDB is a SQL database management system. DuckDB implemented block-based encryption of DB on the filesystem starting with DuckDB 1.4.0. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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 Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Duckdb | Duckdb | >= 1.4.0, < 1.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64429?
How severe is CVE-2025-64429?
How do I fix CVE-2025-64429?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-64422Coolify is an open-source and self-hostable tool for managin…4.3
- CVE-2025-64423Coolify is an open-source and self-hostable tool for managin…8.8
- CVE-2025-64424Coolify is an open-source and self-hostable tool for managin…8.8
- CVE-2025-64425Coolify is an open-source and self-hostable tool for managin…8.1
- CVE-2025-64427ZimaOS is a fork of CasaOS, an operating system for Zima dev…6.5
- CVE-2025-64428Dataease is an open source data visualization analysis tool.…9.8
- CVE-2025-6443Mikrotik RouterOS VXLAN Source IP Improper Access Control Vu…7.2
- CVE-2025-64430Parse Server is an open source backend that can be deployed …7.5
- CVE-2025-64431Zitadel is an open source identity management platform. Vers…8.7
- CVE-2025-64432KubeVirt is a virtual machine management add-on for Kubernet…4.7
- CVE-2025-64433KubeVirt is a virtual machine management add-on for Kubernet…6.5
- CVE-2025-64434KubeVirt is a virtual machine management add-on for Kubernet…6.3
Are you affected by CVE-2025-64429?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
