Use After Free Affecting python3-perf-debuginfo package, versions <1:6.1.148-173.267.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (13th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON3PERFDEBUGINFO-12763929
  • published16 Sept 2025
  • disclosed22 Aug 2025

Introduced: 22 Aug 2025

NewCVE-2025-38618  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-perf-debuginfo to version 1:6.1.148-173.267.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1169.

NVD Description

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

vsock: Do not allow binding to VMADDR_PORT_ANY

It is possible for a vsock to autobind to VMADDR_PORT_ANY. This can cause a use-after-free when a connection is made to the bound socket. The socket returned by accept() also has port VMADDR_PORT_ANY but is not on the list of unbound sockets. Binding it will result in an extra refcount decrement similar to the one fixed in fcdd2242c023 (vsock: Keep the binding until socket destruction).

Modify the check in __vsock_bind_connectible() to also prevent binding to VMADDR_PORT_ANY.

CVSS Base Scores

version 3.1