CVE & CISA-KEV Catalog

CVE-2025-8291

MEDIUM
4.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
python-unversioned-commandAmazon
Fixed in:0:3.9.24-1.amzn2023.0.3
python3Amazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-debugAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-debuginfoAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
python3-develAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-idleAmazon
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-libsAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-testAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-tkinterAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.9.24-1.amzn2023.0.3
Fixed in:0:3.9.24-1.amzn2023.0.3
python3-toolsAmazon
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
Fixed in:0:3.7.16-1.amzn2.0.20
python3.11Amazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-debugAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-debuginfoAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-debugsourceAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-develAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-idleAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-libsAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-testAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.11-tkinterAmazon
Fixed in:0:3.11.14-1.amzn2023.0.1
Fixed in:0:3.11.14-1.amzn2023.0.1
python3.12Amazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-debugAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-debuginfoAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-debugsourceAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-develAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-idleAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-libsAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-testAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.12-tkinterAmazon
Fixed in:0:3.12.12-2.amzn2023
Fixed in:0:3.12.12-2.amzn2023
python3.13Amazon
Fixed in:0:3.13.3-3.amzn2023.0.7
Fixed in:0:3.13.3-3.amzn2023.0.7
python3.13-debugAmazon
Fixed in:0:3.13.3-3.amzn2023.0.7
Fixed in:0:3.13.3-3.amzn2023.0.7

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploit Intelligence

0.38%probability of exploitation in 30 days
31stpercentile

Low risk: more likely to be exploited than 31% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1285 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-7848High7.85.1%--
CVE-2023-46724High8.64.0%-Fix
CVE-2022-21821High7.82.1%-Fix
CVE-2026-2006High8.81.1%-Fix
CVE-2020-25241High7.51.0%-Fix
CVE-2025-3357Critical9.81.0%--

Common questions

How do I fix CVE-2025-8291?

Published advisories record a fix for 325 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-8291 being actively exploited?

Not that we know of. CVE-2025-8291 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.38% is the estimated probability that it will be exploited in the next 30 days. That is higher than 31% of all scored CVEs.

How severe is CVE-2025-8291?

CVE-2025-8291 has a CVSS v3 base score of 4.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-8291 affect?

Published advisories record a fix for python-unversioned-command (Amazon), python3 (Amazon), python3-debug (Amazon), python3-debuginfo (Amazon), and 321 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-8291
CVE-2025-8291 severity badge

Markdown

[![CVE-2025-8291](https://tridentstack.com/cve/badge/CVE-2025-8291.svg)](https://tridentstack.com/cve/CVE-2025-8291)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-8291"><img src="https://tridentstack.com/cve/badge/CVE-2025-8291.svg" alt="CVE-2025-8291"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-31.