CVE-2025-8194 Affecting python39:3.9/python39-psycopg2-tests package, versions <0:2.8.6-3.module_el8.10.0+3765+2f9a457d


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.22% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-PYTHON39-12446955
  • published2 Sept 2025
  • disclosed2 Sept 2025

Introduced: 2 Sep 2025

CVE-2025-8194  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 python39:3.9/python39-psycopg2-tests to version 0:2.8.6-3.module_el8.10.0+3765+2f9a457d or higher.
This issue was patched in ALSA-2025:14900.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-psycopg2-tests package and not the python39:3.9/python39-psycopg2-tests package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.

This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

References

CVSS Base Scores

version 3.1