python2.7, python3.5, python3.6, python3.7 vulnerabilities
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.5, python3.6
- Affected 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-1ubuntu0~16.04.1, 2.7.12-1ubuntu0~16.04.2, 2.7.12-1ubuntu0~16.04.3, 2.7.12-1ubuntu0~16.04.4, 2.7.12-1ubuntu0~16.04.8, 2.7.12-1~16.04, 2.7.14-2ubuntu2, 2.7.14-4, 2.7.14-6, 2.7.14-7, 2.7.14-8, 2.7.15-4ubuntu4~18.04, 2.7.15-4ubuntu4~18.04.1, 2.7.15~rc1-1, 2.7.15~rc1-1ubuntu0.1, 3.5.0-3, 3.5.0-3ubuntu1, 3.5.1-1, 3.5.1-10, 3.5.1-2, 3.5.1-3, 3.5.1-5, 3.5.1-6ubuntu1, 3.5.1-6ubuntu2, 3.5.1-9ubuntu1, 3.5.1~rc1-2ubuntu1, 3.5.2-2ubuntu0~16.04.1, 3.5.2-2ubuntu0~16.04.2, 3.5.2-2ubuntu0~16.04.3, 3.5.2-2ubuntu0~16.04.4, 3.5.2-2ubuntu0~16.04.5, 3.5.2-2ubuntu0~16.04.8, 3.5.2-2~16.01, 3.5.2-2~16.04, 3.6.3-1ubuntu1, 3.6.4-1, 3.6.4-2, 3.6.4-3build1, 3.6.4-4, 3.6.4~rc1-1, 3.6.4~rc1-2, 3.6.5-3, 3.6.5~rc1-1, 3.6.6-1~18.04, 3.6.7-1~18.04, 3.6.8-1~18.04.1, 3.6.8-1~18.04.2
- Fixed versions
- 2.7.12-1ubuntu0~16.04.9, 2.7.15-4ubuntu4~18.04.2, 3.5.2-2ubuntu0~16.04.9, 3.6.8-1~18.04.3
- 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
python2.7, python3.5, python3.6, python3.7 vulnerabilities
core-osv · Original sourcePublished 9 Oct 2019, 12:04 UTC
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-1
python2.7
Fixed versions: 2.7.12-1ubuntu0~16.04.9
python3.5
Fixed versions: 3.5.2-2ubuntu0~16.04.9
python2.7
Fixed versions: 2.7.15-4ubuntu4~18.04.2
python3.6
Fixed versions: 3.6.8-1~18.04.3
Complete source record
{
"id": "d20162f443261b0b456f804c3c35cd0e31122ed07cce15a78042ac1a5ba4110a",
"url": "https://osv.dev/vulnerability/USN-4151-1",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "python2.7, python3.5, python3.6, python3.7 vulnerabilities",
"summary": "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-1",
"products": [
{
"name": {
"value": "python2.7",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.12-1ubuntu0~16.04.9",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.7.10-4ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.10-4ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-6",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-7",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.11-7ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1~16.04",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1ubuntu0~16.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1ubuntu0~16.04.2",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1ubuntu0~16.04.3",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1ubuntu0~16.04.4",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.12-1ubuntu0~16.04.8",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python3.5",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.5.2-2ubuntu0~16.04.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3.5.0-3",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.0-3ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1~rc1-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-5",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-6ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-6ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-9ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.1-10",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2~16.01",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2~16.04",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.3",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.4",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.5",
"evidence": "/affected/1/versions"
},
{
"value": "3.5.2-2ubuntu0~16.04.8",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python2.7",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.15-4ubuntu4~18.04.2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.7.14-2ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.14-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.14-6",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.14-7",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.14-8",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.15~rc1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.15~rc1-1ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.15-4ubuntu4~18.04",
"evidence": "/affected/2/versions"
},
{
"value": "2.7.15-4ubuntu4~18.04.1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python3.6",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.6.8-1~18.04.3",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "3.6.3-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4~rc1-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4~rc1-2",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4-2",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.4-4",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.5~rc1-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.5-3",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.6-1~18.04",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.7-1~18.04",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.8-1~18.04.1",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.8-1~18.04.2",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "USN-4151-1",
"aliases": [
"USN-4151-1"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.12-1ubuntu0~16.04.9"
}
]
}
],
"package": {
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"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",
"2.7.12-1ubuntu0~16.04.2",
"2.7.12-1ubuntu0~16.04.3",
"2.7.12-1ubuntu0~16.04.4",
"2.7.12-1ubuntu0~16.04.8"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-1.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:16.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.12-1ubuntu0~16.04.9"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.2-2ubuntu0~16.04.9"
}
]
}
],
"package": {
"name": "python3.5",
"purl": "pkg:deb/ubuntu/python3.5?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"3.5.0-3",
"3.5.0-3ubuntu1",
"3.5.1~rc1-2ubuntu1",
"3.5.1-1",
"3.5.1-2",
"3.5.1-3",
"3.5.1-5",
"3.5.1-6ubuntu1",
"3.5.1-6ubuntu2",
"3.5.1-9ubuntu1",
"3.5.1-10",
"3.5.2-2~16.01",
"3.5.2-2~16.04",
"3.5.2-2ubuntu0~16.04.1",
"3.5.2-2ubuntu0~16.04.2",
"3.5.2-2ubuntu0~16.04.3",
"3.5.2-2ubuntu0~16.04.4",
"3.5.2-2ubuntu0~16.04.5",
"3.5.2-2ubuntu0~16.04.8"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-1.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:16.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "libpython3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "libpython3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "libpython3.5-stdlib",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "libpython3.5-testsuite",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "python3.5",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "python3.5-examples",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "python3.5-minimal",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
},
{
"binary_name": "python3.5-venv",
"binary_version": "3.5.2-2ubuntu0~16.04.9"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.15-4ubuntu4~18.04.2"
}
]
}
],
"package": {
"name": "python2.7",
"purl": "pkg:deb/ubuntu/python2.7?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.7.14-2ubuntu2",
"2.7.14-4",
"2.7.14-6",
"2.7.14-7",
"2.7.14-8",
"2.7.15~rc1-1",
"2.7.15~rc1-1ubuntu0.1",
"2.7.15-4ubuntu4~18.04",
"2.7.15-4ubuntu4~18.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-1.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:18.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python2.7",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "libpython2.7",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "libpython2.7-minimal",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "libpython2.7-stdlib",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "libpython2.7-testsuite",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "python2.7",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "python2.7-examples",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
},
{
"binary_name": "python2.7-minimal",
"binary_version": "2.7.15-4ubuntu4~18.04.2"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.6.8-1~18.04.3"
}
]
}
],
"package": {
"name": "python3.6",
"purl": "pkg:deb/ubuntu/python3.6?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.6.3-1ubuntu1",
"3.6.4~rc1-1",
"3.6.4~rc1-2",
"3.6.4-1",
"3.6.4-2",
"3.6.4-3build1",
"3.6.4-4",
"3.6.5~rc1-1",
"3.6.5-3",
"3.6.6-1~18.04",
"3.6.7-1~18.04",
"3.6.8-1~18.04.1",
"3.6.8-1~18.04.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4151-1.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:18.04:LTS"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "idle-python3.6",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "libpython3.6",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "libpython3.6-minimal",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "libpython3.6-stdlib",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "libpython3.6-testsuite",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "python3.6",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "python3.6-examples",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "python3.6-minimal",
"binary_version": "3.6.8-1~18.04.3"
},
{
"binary_name": "python3.6-venv",
"binary_version": "3.6.8-1~18.04.3"
}
],
"availability": "No subscription required"
}
}
],
"modified": "2026-10-08T19:46:33.961048130Z",
"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-1",
"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": 104525,
"published_at": "2019-10-09T12:04:27+00:00"
}