CVE-2025-8291 Affecting python3.12-devel package, versions <0:3.12.12-1.el9_7


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.13% (32nd 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-ALMALINUX9-PYTHON312DEVEL-14551870
  • published23 Dec 2025
  • disclosed16 Dec 2025

Introduced: 16 Dec 2025

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

How to fix?

Upgrade AlmaLinux:9 python3.12-devel to version 0:3.12.12-1.el9_7 or higher.
This issue was patched in ALSA-2025:23323.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-devel package and not the python3.12-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP64 EOCD record, instead the ZIP64 EOCD record would be assumed to be the previous record in the ZIP archive. This could be abused to create ZIP archives that are handled differently by the 'zipfile' module compared to other ZIP implementations.

Remediation maintains this behavior, but checks that the offset specified in the ZIP64 EOCD Locator record matches the expected value.

References

CVSS Base Scores

version 3.1