Use After Free Affecting python39-urllib3 package, versions <0:1.25.10-5.module+el8.10.0+20443+f0a692fe


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.2% (10th 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-CENTOS8-PYTHON39URLLIB3-10652960
  • published7 Jul 2025
  • disclosed15 May 2025

Introduced: 15 May 2025

CVE-2025-4516  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Centos:8 python39-urllib3 to version 0:1.25.10-5.module+el8.10.0+20443+f0a692fe or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39-urllib3 package and not the python39-urllib3 package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

There is an issue in CPython when using bytes.decode(&#34;unicode_escape&#34;, error=&#34;ignore|replace&#34;). If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.

CVSS Base Scores

version 3.1