SB2022062741 - Buffer overflow in Python



SB2022062741 - Buffer overflow in Python

Published: June 27, 2022 Updated: June 3, 2025

Security Bulletin ID SB2022062741
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Buffer overflow (CVE-ID: CVE-2008-1887)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.


Remediation

Install update from vendor's website.