# CVE-2019-16056: email.utils.parseaddr mistakenly parse an email

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.60%, higher than 91% of CVEs (2026-12-01)
- Published: 2019-09-06T17:24:35.000Z
- Modified: 2026-10-14T07:16:47.733Z
- Also known as: PSF-2019-5
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in Python through 2.7.16, 3.x through 3.5.7, 3.6.x through 3.6.9, and 3.7.x through 3.7.4. The email module wrongly parses email addresses that contain multiple @ characters. An application that uses the email module and implements some kind of checks on the From/To headers of a message could be tricked into accepting an email address that should be denied. An attack may be the same as in CVE-2019-11340; however, this CVE applies to Python more generally.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 063eba280a11d3c9a5dd9ee5abe4de640907951b; before 13a19139b5e76175bc95294d54afc9425e4f36c9; before 217077440a6938a0b428f67cfef6e053c4f8673c; before 4cbcd2f8c4e12b912e4d21fd892eedf7a3813d8e; before 8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9; before c48d606adcef395e59fd555496c42203b01dd3e8
- python python: up to 2.7.16; from 3.0.0 up to 3.0.1; from 3.1.0 up to 3.1.5; from 3.2.0 up to 3.2.6; from 3.3.0 up to 3.3.7; from 3.4.0 up to 3.4.10; from 3.5.0 up to 3.5.7; from 3.6.0 up to 3.6.9; from 3.7.0 up to 3.7.4
- fedoraproject fedora: 29; 30; 31
- debian debian_linux: 8.0; 9.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.04
- redhat software_collections: 1.0
- oracle communications_operations_monitor: from 4.1 up to 4.3; 3.4
- oracle peoplesoft_enterprise_peopletools: 8.57; 8.58
- oracle zfs_storage_appliance_kit: 8.8
- oracle solaris: 11
- opensuse leap: 15.0; 15.1

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K4KZEFP6E4YPYB52AF4WXCUDSGQOTF37/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/09/msg00019.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/09/msg00018.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NF3DRDGMVIRYNZMSLJIHNW47HOUQYXVG/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ER6LONC2B2WYIO56GBQUDU6QTWZDPUNQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2HP37NUVLQSBW3J735A2DQDOZ4ZGBLY/> (vendor-advisory)
- <https://usn.ubuntu.com/4151-1/> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4151-2/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00062.html> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00063.html> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QP46PQSUKYPGWTADQ67NOV3BUN6JM34Z/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QASRD4E2G65GGEHYKVHYCXB2XWAGTNL4/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SDQQ56P7ZZR64XV5DUVWNSNXKKEXUG2J/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00012.html> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:3725> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00021.html> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M34WOYCDKTDE5KLUACE2YIEH7D37KHRX/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JCPGLTTOBB3QEARDX4JOYURP6ELNNA2V/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2019:3948> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEARDOTXCYPYELKBD2KWZ27GSPXDI3GQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OYGESQSGIHDCIGOBVF7VXCMIE6YDWRYB/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html> (third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2020.html> (patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2020.html> (patch, third-party-advisory)
- <https://bugs.python.org/issue34155> (issue-tracking, report, vendor-advisory)
- <https://github.com/python/cpython/commit/8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9> (patch)
- <https://security.netapp.com/advisory/ntap-20190926-0005/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html> (mailing-list, third-party-advisory)
- <https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://medium.com/@fs0c131y/tchap-the-super-not-secure-app-of-the-french-government-84b31517d144> (web)
- <https://twitter.com/fs0c131y/status/1119143946687434753> (web)

## Sources

- CVE List: [CVE-2019-16056](https://www.cve.org/CVERecord?id=CVE-2019-16056), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2019-5](https://osv.dev/vulnerability/PSF-2019-5), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2019-16056](https://nvd.nist.gov/vuln/detail/CVE-2019-16056), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2019-16056 · Whole record: https://cve.day/CVE-2019-16056.json · Rebuilt by cve.day 2026-11-25T22:57:46.840Z
