JLSEC-2026-1934: When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate...
When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when accessing public key info of provided certificates from user code. The current context of the users will be gone, and that will cause a DoS scenario. This vulnerability affects all active Node.js versions v16, v18, and, v20.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.20.2+0 - Upgrade
Upgrade
julia/NodeJS_18_jllto a version that resolves this vulnerability.Fixed in 18.16.1+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs to be able to cause application code to create an X.509 certificate through the crypto.X509Certificate() API using an invalid public key, or otherwise provide a certificate whose public-key information is accessed by user code. No privileges or user interaction are required according to the supplied vector.
Which deployments are exposed?
Applications using affected active Node.js v16, v18, or v20 versions are exposed when they process attacker-influenced certificates through the affected API. The listed Julia packages are julia/nodejs_16_jll, julia/nodejs_18_jll, and julia/libnode_jll.
What is the impact if exploitation succeeds?
The Node.js process can terminate unexpectedly, interrupting application processing and discarding the current user contexts. The stated impact is denial of service; no confidentiality or integrity impact is indicated.