Buffer Overflow Affecting python3-perf package, versions <0:6.12.0-55.41.1.el10_0


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.03% (6th 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-CENTOS10-PYTHON3PERF-12554717
  • published9 Sept 2025
  • disclosed7 Sept 2025

Introduced: 7 Sep 2025

CVE-2025-39727  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Centos:10 python3-perf to version 0:6.12.0-55.41.1.el10_0 or higher.

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 Centos. See How to fix? for Centos:10 relevant fixed versions and status.

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

mm: swap: fix potential buffer overflow in setup_clusters()

In setup_swap_map(), we only ensure badpages are in range (0, last_page]. As maxpages might be < last_page, setup_clusters() will encounter a buffer overflow when a badpage is >= maxpages.

Only call inc_cluster_info_page() for badpage which is < maxpages to fix the issue.

CVSS Base Scores

version 3.1