Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-4965 EUVD-2007-4946GHSA-m9f3-5w45-2j8h

Multiple integer overflows in the imageop module in Python 2.5.1 and earlier allow context-dependent attackers to cause a denial of service…

Published Sep 18, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

Multiple integer overflows in the imageop module in Python 2.5.1 and earlier allow context-dependent attackers to cause a denial of service (application crash) and possibly obtain sensitive information (memory contents) via crafted arguments to (1) the tovideo method, and unspecified other vectors related to (2) imageop.c, (3) rbgimgmodule.c, and other files, which trigger heap-based buffer overflows.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 python2.4 2.4.4-3+etch1 DSA-1551-1
Debian 4.0 python2.5 2.5-5+etch1 DSA-1620-1
ReleasePackageFixed inAdvisory
RHEL 5 python +3 2.4.3-24.el5_3.6 RHSA-2009:1176
RHEL 4 python +4 2.3.4-14.4.el4_6.1 RHSA-2007:1076
RHEL 3 python +3 2.2.3-6.8 RHSA-2007:1076
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Network Satellite 5 rhn-solaris-bootstrap 5.0.2-3 RHSA-2008:0629, RHSA-2008:0264
Red Hat Network Satellite 5 rhn_solaris_bootstrap_5_0_2_3 +1 1-0 RHSA-2008:0629, RHSA-2008:0264
Red Hat Network Satellite 4 rhn-solaris-bootstrap 5.0.2-3 RHSA-2008:0525
Red Hat Network Satellite 4 rhn_solaris_bootstrap_5_0_2_3 1-0 RHSA-2008:0525

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-py No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References