python2.7, python3.4 vulnerabilities
USN-4151-1 fixed several vulnerabilities in Python. This update provides the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM. Original advisory details: It was discovered that Python incorrectly parsed certain email addresses. A remote attacker could possibly use this issue to trick Python applications into accepting email addresses that should be denied. (CVE-2019-16056) It was discovered that the Python documentation XML-RPC server incorrectly handled certain fields. A remote attacker could use this issue to execute a cross-site scripting (XSS) attack. (CVE-2019-16935)
- Products
- python2.7, python3.4
- Affected 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, 2.7.6-8ubuntu0.4, 2.7.6-8ubuntu0.5, 2.7.6-8ubuntu0.6+esm2, 3.4.0-1, 3.4.0-2ubuntu1, 3.4.0-2ubuntu1.1, 3.4.3-1ubuntu1~14.04.1, 3.4.3-1ubuntu1~14.04.3, 3.4.3-1ubuntu1~14.04.4, 3.4.3-1ubuntu1~14.04.5, 3.4.3-1ubuntu1~14.04.6, 3.4.3-1ubuntu1~14.04.7, 3.4.3-1ubuntu1~14.04.7+esm2, 3.4~b1-0ubuntu3, 3.4~b1-4ubuntu4, 3.4~b1-4ubuntu6, 3.4~b1-5ubuntu2, 3.4~b2-1, 3.4~b3-1ubuntu1, 3.4~rc1-1build1, 3.4~rc2-1, 3.4~rc3-0ubuntu1
- Fixed versions
- 2.7.6-8ubuntu0.6+esm3, 3.4.3-1ubuntu1~14.04.7+esm4
- CVEs
- CVE-2019-16056, CVE-2019-16935
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 10:04 UTC · Revision 1
Source evidence
USN-4151-1 fixed several vulnerabilities in Python. This update provides the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM. Original advisory details: It was discovered that Python incorrectly parsed certain email addresses. A remote attacker could possibly use this issue to trick Python applications into accepting email addresses that should be denied. (CVE-2019-16056) It was discovered that the Python documentation XML-RPC server incorrectly handled certain fields. A remote attacker could use this issue to execute a cross-site scripting (XSS) attack. (CVE-2019-16935)
osv:USN-4151-2
python2.7
Fixed versions: 2.7.6-8ubuntu0.6+esm3
python3.4
Fixed versions: 3.4.3-1ubuntu1~14.04.7+esm4
Complete source record
{
"id": "afc58c29221a97f7cc37741021ff94e7379f98d41ad6cd4e0fce6aba0ebc56de",
"url": "https://osv.dev/vulnerability/USN-4151-2",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "python2.7, python3.4 vulnerabilities",
"summary": "USN-4151-1 fixed several vulnerabilities in Python. This update provides the corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM. Original advisory details: It was discovered that Python incorrectly parsed certain email addresses. A remote attacker could possibly use this issue to trick Python applications into accepting email addresses that should be denied. (CVE-2019-16056) It was discovered that the Python documentation XML-RPC server incorrectly handled certain fields. A remote attacker could use this issue to execute a cross-site scripting (XSS) attack. (CVE-2019-16935)",
"evidence": "osv:USN-4151-2",
"products": [
{
"name": {
"value": "python2.7",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.6-8ubuntu0.6+esm3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.7.5-8ubuntu3",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.5-8ubuntu4",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-2ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-3ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-4ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-5",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-7",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8ubuntu0.2",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8ubuntu0.3",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8ubuntu0.4",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8ubuntu0.5",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.6-8ubuntu0.6+esm2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python3.4",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.4.3-1ubuntu1~14.04.7+esm4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3.4~b1-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~b1-4ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~b1-4ubuntu6",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~b1-5ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~b2-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~b3-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~rc1-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~rc2-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4~rc3-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.0-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.0-2ubuntu1.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.3",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.4",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.5",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.6",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.7",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.3-1ubuntu1~14.04.7+esm2",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-4151-2",
"aliases": [
"USN-4151-2"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.6-8ubuntu0.6+esm3"
}
]
}
],
"package": {
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7?arch=source&distro=trusty%2Fesm",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"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",
"2.7.6-8ubuntu0.4",
"2.7.6-8ubuntu0.5",
"2.7.6-8ubuntu0.6+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-2.json",
"cves_map": {
"cves": [
{
"id": "CVE-2019-16056",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2019-16935",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "low"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.6-8ubuntu0.6+esm3"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4.3-1ubuntu1~14.04.7+esm4"
}
]
}
],
"package": {
"name": "python3.4",
"purl": "pkg:deb/ubuntu/python3.4?arch=source&distro=trusty%2Fesm",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"3.4~b1-0ubuntu3",
"3.4~b1-4ubuntu4",
"3.4~b1-4ubuntu6",
"3.4~b1-5ubuntu2",
"3.4~b2-1",
"3.4~b3-1ubuntu1",
"3.4~rc1-1build1",
"3.4~rc2-1",
"3.4~rc3-0ubuntu1",
"3.4.0-1",
"3.4.0-2ubuntu1",
"3.4.0-2ubuntu1.1",
"3.4.3-1ubuntu1~14.04.1",
"3.4.3-1ubuntu1~14.04.3",
"3.4.3-1ubuntu1~14.04.4",
"3.4.3-1ubuntu1~14.04.5",
"3.4.3-1ubuntu1~14.04.6",
"3.4.3-1ubuntu1~14.04.7",
"3.4.3-1ubuntu1~14.04.7+esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-2.json",
"cves_map": {
"cves": [
{
"id": "CVE-2019-16056",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
},
{
"id": "CVE-2019-16935",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "low"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python3.4",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "libpython3.4",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "libpython3.4-minimal",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "libpython3.4-stdlib",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "libpython3.4-testsuite",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "python3.4",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "python3.4-examples",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "python3.4-minimal",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
},
{
"binary_name": "python3.4-venv",
"binary_version": "3.4.3-1ubuntu1~14.04.7+esm4"
}
],
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}
}
],
"modified": "2026-10-08T19:46:32.326122996Z",
"provider": "osv",
"upstream": [
"CVE-2019-16056",
"CVE-2019-16935",
"UBUNTU-CVE-2019-16056",
"UBUNTU-CVE-2019-16935"
],
"references": [
"https://ubuntu.com/security/notices/USN-4151-2",
"https://ubuntu.com/security/CVE-2019-16056",
"https://ubuntu.com/security/CVE-2019-16935"
]
},
"related_cves": [
{
"value": "CVE-2019-16056",
"evidence": "/upstream"
},
{
"value": "CVE-2019-16935",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 104516,
"published_at": "2019-10-10T13:01:25+00:00"
}