synced JUST NOW
01 Record

CVE-2023-27043

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In

MediumPUBLISHEDCNA: mitre
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

02 Description

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
2.52% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 84.4% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-04-18 00:00Z3 YR AGO
Last updated
2026-05-12 10:52Z5 MO AGO
Reserved
2023-02-27
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
  • CWE-20Improper Input ValidationClass
  • CWE-1286Improper Validation of Syntactic Correctness of InputBase
Data version
5.2
Document digest
f48e40bf4075707574cefc2fcadb49ddfe430096e2ef1bf77e7826eaafd68fdd

05 Affected products

VendorProductVersionsPlatforms
fedoraprojectfedoraNot specified—
netappactive_iq_unified_managerNot specified—
pythonpythonNot specified—
redhatenterprise_linuxNot specified—
redhatopenshift_data_foundationNot specified—
redhatrhel_eusNot specified—
redhatrhel_software_collectionsNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • platform-python
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • platform-python-debug
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • platform-python-devel
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-idle
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-libs
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-test
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-tkinter
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3.11
    Fixed in 3.11.7-1.el8
  • python3.11-debug
    Fixed in 3.11.7-1.el8
  • python3.11-devel
    Fixed in 3.11.7-1.el8
  • python3.11-idle
    Fixed in 3.11.7-1.el8
  • python3.11-libs
    Fixed in 3.11.7-1.el8
  • python3.11-rpm-macros
    Fixed in 3.11.7-1.el8
  • python3.11-test
    Fixed in 3.11.7-1.el8
  • python3.11-tkinter
    Fixed in 3.11.7-1.el8
  • python39
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-Cython
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
    • Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-attrs
    Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
  • python39-debug
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-devel
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-idle
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-idna
    Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
  • python39-iniconfig
    Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
  • python39-more-itertools
    Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-numpy-doc
    Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
  • python39-numpy-f2py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-packaging
    Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
  • python39-pip
    Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
  • python39-pip-wheel
    Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
  • python39-pluggy
    Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
  • python39-ply
    Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-psutil
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
    • Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c

24 further packages in AlmaLinux 8 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • python-unversioned-command
    Fixed in 3.9.18-1.el9_3.1
  • python3
    Fixed in 3.9.18-1.el9_3.1
  • python3-debug
    Fixed in 3.9.18-1.el9_3.1
  • python3-devel
    Fixed in 3.9.18-1.el9_3.1
  • python3-idle
    Fixed in 3.9.18-1.el9_3.1
  • python3-libs
    Fixed in 3.9.18-1.el9_3.1
  • python3-test
    Fixed in 3.9.18-1.el9_3.1
  • python3-tkinter
    Fixed in 3.9.18-1.el9_3.1
  • python3.11
    Fixed in 3.11.7-1.el9
  • python3.11-debug
    Fixed in 3.11.7-1.el9
  • python3.11-devel
    Fixed in 3.11.7-1.el9
  • python3.11-idle
    Fixed in 3.11.7-1.el9
  • python3.11-libs
    Fixed in 3.11.7-1.el9
  • python3.11-test
    Fixed in 3.11.7-1.el9
  • python3.11-tkinter
    Fixed in 3.11.7-1.el9

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • platform-python
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • platform-python-debug
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • platform-python-devel
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-idle
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-libs
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-test
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3-tkinter
    Fixed in 3.6.8-56.el8_9.3.alma.1
  • python3.11
    Fixed in 3.11.7-1.el8
  • python3.11-debug
    Fixed in 3.11.7-1.el8
  • python3.11-devel
    Fixed in 3.11.7-1.el8
  • python3.11-idle
    Fixed in 3.11.7-1.el8
  • python3.11-libs
    Fixed in 3.11.7-1.el8
  • python3.11-rpm-macros
    Fixed in 3.11.7-1.el8
  • python3.11-test
    Fixed in 3.11.7-1.el8
  • python3.11-tkinter
    Fixed in 3.11.7-1.el8
  • python39
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-Cython
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
    • Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-attrs
    Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
  • python39-debug
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-devel
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-idle
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-idna
    Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
  • python39-iniconfig
    Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.18-3.module_el8.10.0+3765+2f9a457d
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
  • python39-more-itertools
    Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-numpy-doc
    Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
  • python39-numpy-f2py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-packaging
    Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
  • python39-pip
    Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
  • python39-pip-wheel
    Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
  • python39-pluggy
    Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
  • python39-ply
    Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-psutil
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
    • Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c

24 further packages in CloudLinux 8 not shown (first 40 listed).

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • python-unversioned-command
    Fixed in 3.9.18-1.el9_3.1
  • python3
    Fixed in 3.9.18-1.el9_3.1
  • python3-debug
    Fixed in 3.9.18-1.el9_3.1
  • python3-devel
    Fixed in 3.9.18-1.el9_3.1
  • python3-idle
    Fixed in 3.9.18-1.el9_3.1
  • python3-libs
    Fixed in 3.9.18-1.el9_3.1
  • python3-test
    Fixed in 3.9.18-1.el9_3.1
  • python3-tkinter
    Fixed in 3.9.18-1.el9_3.1
  • python3.11
    Fixed in 3.11.7-1.el9
  • python3.11-debug
    Fixed in 3.11.7-1.el9
  • python3.11-devel
    Fixed in 3.11.7-1.el9
  • python3.11-idle
    Fixed in 3.11.7-1.el9
  • python3.11-libs
    Fixed in 3.11.7-1.el9
  • python3.11-test
    Fixed in 3.11.7-1.el9
  • python3.11-tkinter
    Fixed in 3.11.7-1.el9

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • pypy3
    Fixed in 7.3.11+dfsg-2+deb12u3
  • python3.11
    Fixed in 3.11.2-6+deb12u5

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pypy3
    Fixed in 7.3.17+dfsg-3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pypy3
    Fixed in 7.3.17+dfsg-3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • python3.8
    Fixed in 3.8.10-0ubuntu1~20.04.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python3.10
    Fixed in 3.10.12-1~22.04.6

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • python3.12
    Fixed in 3.12.3-1ubuntu0.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python2.7
    Fixed in 2.7.6-8ubuntu0.6+esm20
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.4
    No fix yet
  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm3
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python2.7
    Fixed in 2.7.12-1ubuntu0~16.04.18+esm18
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.13+esm15
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • python2.7
    Fixed in 2.7.17-1~18.04ubuntu1.13+esm13
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.6
    No fix yet
  • python3.7
    No fix yet
  • python3.8
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • python2.7
    Fixed in 2.7.18-1~20.04.4+esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python3.9
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • python2.7
    Fixed in 2.7.18-13ubuntu1.2+esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python3.11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.