{"id":"USN-3496-1","summary":"python2.7 vulnerability","details":"It was discovered that Python incorrectly handled decoding certain strings.\nAn attacker could possibly use this issue to execute arbitrary code.\n","modified":"2026-02-10T04:41:15Z","published":"2017-11-28T15:34:12Z","related":["UBUNTU-CVE-2017-1000158"],"upstream":["CVE-2017-1000158","UBUNTU-CVE-2017-1000158"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3496-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1000158"}],"affected":[{"package":{"name":"python2.7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.4"}]}],"versions":["2.7.5-8ubuntu3","2.7.5-8ubuntu4","2.7.6-2","2.7.6-2ubuntu1","2.7.6-3","2.7.6-3ubuntu1","2.7.6-4","2.7.6-4ubuntu1","2.7.6-5","2.7.6-7","2.7.6-8","2.7.6-8ubuntu0.2","2.7.6-8ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"libpython2.7","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"libpython2.7-dev","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"python2.7","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"python2.7-dev","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"python2.7-examples","binary_version":"2.7.6-8ubuntu0.4"},{"binary_name":"python2.7-minimal","binary_version":"2.7.6-8ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3496-1.json","cves_map":{"ecosystem":"Ubuntu:14.04:LTS","cves":[{"id":"CVE-2017-1000158","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"python2.7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.2"}]}],"versions":["2.7.10-4ubuntu1","2.7.10-4ubuntu2","2.7.11-2","2.7.11-3","2.7.11-4","2.7.11-6","2.7.11-7","2.7.11-7ubuntu1","2.7.12-1~16.04","2.7.12-1ubuntu0~16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"idle-python2.7","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"libpython2.7","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"libpython2.7-dev","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"libpython2.7-minimal","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"libpython2.7-stdlib","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"libpython2.7-testsuite","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"python2.7","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"python2.7-dev","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"python2.7-examples","binary_version":"2.7.12-1ubuntu0~16.04.2"},{"binary_name":"python2.7-minimal","binary_version":"2.7.12-1ubuntu0~16.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3496-1.json","cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"id":"CVE-2017-1000158","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}