Double Free Affecting python3-perf package, versions <0:6.1.141-155.222.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (8th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON3PERF-10693867
  • published11 Jul 2025
  • disclosed18 Jun 2025

Introduced: 18 Jun 2025

NewCVE-2025-38079  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-perf to version 0:6.1.141-155.222.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1037.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-perf package and not the python3-perf 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:

crypto: algif_hash - fix double free in hash_accept

If accept(2) is called on socket type algif_hash with MSG_MORE flag set and crypto_ahash_import fails, sk2 is freed. However, it is also freed in af_alg_release, leading to slab-use-after-free error.

CVSS Base Scores

version 3.1