CVE-2025-65104 Firebird: Information leak vulnerability in firebird3 client when used with newer server

High 7.9 Published Updated

An information leak occurs in the Firebird 3 client library when communicating with newer servers due to incorrect data length values, allowing attackers to read sensitive memory.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-65104?

CVE-2025-65104 is a high-severity vulnerability in FirebirdSQL firebird, published on 17 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Firebird is an open-source relational database management system. In versions FB3 of the client library placed incorrect data length values into XSQLDA fields when communicating with FB4 or higher servers, resulting in an information leak. This issue is fixed by upgrading to the FB4 client or higher.

Weakness: CWE-200

Which versions are affected by CVE-2025-65104?

It affects 1 product.

Products include Firebirdsql Firebird.

How do I fix CVE-2025-65104?

Upgrade to a fixed version.

Is CVE-2025-65104 being exploited?

There is no known exploitation of CVE-2025-65104 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-65104, GHSA-mfpr-9886-xjhg, UBUNTU-CVE-2025-65104.

Is CVE-2025-65104 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free