Skip to content
DoS Advisory Intermediate CVE-2025-35966

Bloomberg Comdb2 CDB2SQLQUERY Protocol Buffer Message null pointer dereference vulnerability

A null pointer dereference in Comdb2's handling of CDB2SQLQUERY protocol buffer messages allows an attacker to crash the database process by sending a crafted message over TCP. This results in a denial of service.

A member Follow

Originally disclosed on Cisco Talos

High 7.5 View original

A null pointer dereference vulnerability exists in the CDB2SQLQUERY protocol buffer message handling of Bloomberg Comdb2 8.1. A specially crafted protocol buffer message can lead to a denial of service.

a member, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The code dereferences the sqlquery pointer without checking if it is null when processing features.

Impact

An attacker can crash the database process, causing a denial of service.

What the attacker needed

Network access to the database port

How it was found

  1. Create a database instance and start the comdb2 service.
  2. Query the pmux service to find the database port.
  3. Send a header with type set to 1 (CDB2QUERY) followed by a crafted protocol buffer message that omits the sqlquery field.
  4. The server crashes due to null pointer dereference.

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.

Comdb2 is a database that talks to clients using a binary format called Protocol Buffers. The server assumed a certain part of the message would always be present, but an attacker could leave it out, causing the server to crash when it tried to use that missing part. This means anyone who can connect to the database can 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 A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

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.