Skip to content
DoS Disclosed report Intermediate

Null Dereference in X509ToObject

A null pointer dereference in Node.js X.509 certificate handling could crash the process when converting a specially crafted certificate to a JavaScript object. An attacker who can supply or influence certificate data could cause a denial of service by terminating the Node.js process.

hahahkim Follow

Originally disclosed on HackerOne

Medium 5.9 View original
  • Triaged in 5 days
  • Fixed in 4 months
  • Disclosed after 4 months

Summary by the program

A null pointer dereference in Node.js X.509 certificate handling could cause the process to crash when converting a specially crafted certificate to a JavaScript object through X509ToObject.

An attacker able to supply or influence certificate data consumed by an affected application could trigger a denial of service by causing the Node.js process to terminate.

This vulnerability affects Node.js 24.x and 26.x.

The original report as published on HackerOne, by hahahkim. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing null check in the X509ToObject conversion code when handling a specially crafted certificate.

Impact

An attacker able to supply or influence certificate data could cause a denial of service by crashing the Node.js process.

What the attacker needed

Attacker can supply or influence certificate data

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A null pointer dereference happens when a program tries to use a memory address that points to nothing, which usually makes the program crash. Here, if a Node.js application processes a certificate crafted in a certain way, the whole Node.js process can stop working. An attacker who can get such a certificate into the application could use this to take it down.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by hahahkim

View all

3 more disclosed reports, best first.

More from Node.js

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.