# CVE-2021-21704: Multiple vulnerabilities in Firebird client extension

- Severity: Medium 5.0 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.67%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2021-10-04T04:00:13.838Z
- Modified: 2026-09-08T08:48:24.630Z
- Also known as: BIT-LIBPHP-2021-21704, BIT-PHP-2021-21704, BIT-PHP-MIN-2021-21704
- Weaknesses: CWE-125, CWE-190, CWE-787
- Assigned by: php

## Description

In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.29; from 7.4.x before 7.4.21; from 8.0.X before 8.0.8
- php php: from 7.3.0 before 7.3.29; from 7.4.0 before 7.4.21; from 8.0.0 before 8.0.8
- netapp clustered_data_ontap: no versions given
- libphp (Bitnami): from 7.3.0 before 7.3.29; from 7.4.0 before 7.4.21; from 8.0.0 before 8.0.8
- php (Bitnami): from 7.3.0 before 7.3.29; from 7.4.0 before 7.4.21; from 8.0.0 before 8.0.8
- php-min (Bitnami): from 7.3.0 before 7.3.29; from 7.4.0 before 7.4.21; from 8.0.0 before 8.0.8

## Every score

- php: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.php.net/bug.php?id=76448> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://bugs.php.net/bug.php?id=76449> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://bugs.php.net/bug.php?id=76450> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://bugs.php.net/bug.php?id=76452> (exploit, advisory, issue-tracking, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211029-0006/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202209-20> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21704> (web)

## Sources

- CVE List: [CVE-2021-21704](https://www.cve.org/CVERecord?id=CVE-2021-21704), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-21704](https://nvd.nist.gov/vuln/detail/CVE-2021-21704), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2021-21704](https://osv.dev/vulnerability/BIT-LIBPHP-2021-21704), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2021-21704](https://osv.dev/vulnerability/BIT-PHP-2021-21704), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2021-21704](https://osv.dev/vulnerability/BIT-PHP-MIN-2021-21704), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21704 · Whole record: https://cve.day/CVE-2021-21704.json · Rebuilt by cve.day 2026-11-25T22:58:04.263Z
