🛡️ HSEC-2025-0006 — crypton-x509-store
Description
Private key leak via inherited file descriptor
# Private key leak via inherited file descriptor
The X.509 key reading function readKeyFile opened a file
descriptor to the private key without setting the *close-on-exec*
flag. If a child process is execed at the same time, it would
inherit that file descriptor and could read the private key
material.
Impact is limited to child processes that run untrusted code, but
that do not close inherited file descriptors. (For example, the
su(1) command.)
This leak was fixed by setting the *close-on-exec* flag on
unix-based systems.
Affected software
HSEC-2025-0006 is recorded against 2 packages.
- crypton-x509-store (from 1.6.9 up to 1.6.12)
- x509-store (from 0.1)
Timeline and source
Published on 17 November 2025. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| crypton-x509-store | 1.6.9 | 1.6.12 |
| x509-store | 0.1 | — |
References
More HSEC 2025 advisories
Browse all of HSEC 2025 in the advisory index.
Free Vulnerability Check
Is your site affected by HSEC-2025-0006?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against HSEC-2025-0006 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.