CVE-2025-39965 Affecting python3-perf6.12-debuginfo package, versions <1:6.12.53-69.119.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (5th 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-AMZN2023-PYTHON3PERF612DEBUGINFO-13731173
  • published29 Oct 2025
  • disclosed13 Oct 2025

Introduced: 13 Oct 2025

NewCVE-2025-39965  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-perf6.12-debuginfo to version 1:6.12.53-69.119.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1254.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-perf6.12-debuginfo package and not the python3-perf6.12-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

xfrm: xfrm_alloc_spi shouldn't use 0 as SPI

x->id.spi == 0 means "no SPI assigned", but since commit 94f39804d891 ("xfrm: Duplicate SPI Handling"), we now create states and add them to the byspi list with this value.

__xfrm_state_delete doesn't remove those states from the byspi list, since they shouldn't be there, and this shows up as a UAF the next time we go through the byspi list.

CVSS Base Scores

version 3.1