CVE-2025-61385 — Vulnerability in pg8000 — CVE Details
pg8000 SQL injection vulnerability via a specially crafted Python list input
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.69%). Schedule for your next planned update.
Does your project use an affected pg8000 version?
Paste your requirements.txt to check it for CVE-2025-61385 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published October 27, 2025 (395 days ago).
- Last revised July 7, 2026 — 253 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "pg8000>=1.31.5"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| pg8000 PyPI · Affected: 1.00, 1.01, 1.02, 1.03 (+96 more) | 1.31.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
References
Frequently Asked Questions
- What is CVE-2025-61385?
- pg8000 SQL injection vulnerability via a specially crafted Python list input. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-61385?
- CVE-2025-61385 affects pg8000. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61385 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 47.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-128139HIGH
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
- CVE-2026-129222HIGH
Natural Language Toolkit (NLTK): Uncontrolled recursion (crash DoS) in DependencyGraph.tree()/triples()