🛡️ HSEC-2025-0006 — crypton-x509-store

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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

github.com (Fix)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-11-17
Updated 2026-08-12
Modified 2025-11-17

Affected Packages

Software From version Fixed in
crypton-x509-store 1.6.9 1.6.12
x509-store 0.1

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.