Home / CVE-2025-61385
CVE-2025-61385: is it exploited, and which versions of pg8000 are affected and fixed?
CVE-2025-61385 is a SQL injection vulnerability in pg8000. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: pg8000 before 1.31.5 (GitHub advisory GHSA-wq2g-r956-j8cc). Fixed in 1.31.5 (GitHub advisory GHSA-wq2g-r956-j8cc). Severity: Critical (9.6, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-61385?
SQL injection vulnerability in tlocke pg8000 1.31.4 allows remote attackers to execute arbitrary SQL commands via a specially crafted Python list input to function pg8000.native.literal.
From the CVE record by mitre, last updated October 28, 2025, 15:19 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pg8000 | < 1.31.5 | 1.31.5 | GHSA-wq2g-r956-j8cc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 27, 2025. Summary: pg8000 SQL injection vulnerability via a specially crafted Python list input.
How severe is CVE-2025-61385?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-61385 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 28, 2025)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 32.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://codeberg.org/tlocke/pg8000/commit/8663c746b02286c32f19c385f0e2e5da9e4fa140
- https://github.com/bmcyver/vulnerability-research/tree/main/CVE-2025-61385
When was it published, and where is the official record?
- Reserved
- September 26, 2025
- Published
- October 27, 2025, 00:00 UTC
- CVE record updated
- October 28, 2025, 15:19 UTC by mitre
- NVD
- Deferred, last modified November 5, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on October 27, 2025?
- Oct 27, 2025CVE-2025-33133 IBM DB2 High Performance Unload: out-of-bounds write (memory corruption)
- Oct 27, 2025CVE-2025-33132 IBM DB2 High Performance Unload: use of sizeof() on a Pointer Type
- Oct 27, 2025CVE-2025-33131 IBM DB2 High Performance Unload: buffer overflow
- Oct 27, 2025CVE-2025-33126 IBM DB2 High Performance Unload: incorrect Calculation of Buffer Size
- Oct 27, 2025CVE-2025-12335 code-projects E-Commerce Website: cross-site scripting (XSS)
- Oct 27, 2025CVE-2025-12332 SourceCodester Student Grades Management System: cross-site scripting (XSS)
- Oct 27, 2025CVE-2025-43024 HP Inc ThinPro 8.1: system information exposed
- Oct 27, 2025CVE-2025-62258 Liferay Portal: cross-site request forgery (CSRF)
Every CVE published on October 27, 2025
Questions about CVE-2025-61385
Is CVE-2025-61385 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pg8000 are affected by CVE-2025-61385?
pg8000 before 1.31.5, per the GitHub advisory GHSA-wq2g-r956-j8cc. The tables above give every range the sources list.
Which version fixes CVE-2025-61385?
1.31.5, per the GitHub advisory GHSA-wq2g-r956-j8cc. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-61385?
Critical (9.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-61385?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.