cve.bz

CVE-2013-4238 Improper Input Validation

no score yetEPSS 5.3%Fix available

No CVSS score yet. EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
EPSS
5.3% (unchanged from 5.3% a week ago; 5.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-4238 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-4238?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-4238?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-4238 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux10.04
python:python2.6.1
python:python2.6.2
python:python2.6.3
python:python2.6.4
python:python2.6.5
python:python2.6.6
python:python2.6.7
python:python2.6.8
python:python2.6.2150
python:python2.6.6150
python:python2.7.1
python:python2.7.1:rc1
python:python2.7.2:rc1
python:python2.7.3
python:python2.7.1150
python:python2.7.2150
python:python3.0
python:python3.0.1
python:python3.1
python:python3.1.1
python:python3.1.2
python:python3.1.3
python:python3.1.4
python:python3.1.5
python:python3.1.2150
python:python3.2
python:python3.2:alpha
python:python3.2.3
python:python3.2.2150
python:python3.3
python:python3.3:beta2
python:python3.4:alpha1
opensuse:opensuse11.4
opensuse:opensuse12.2
opensuse:opensuse12.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0python2.62.6.6-8+deb6u1DLA-25-1
Debian7python2.72.7.3-6+deb7u2DSA-2880-1
Debian11python2.72.7.5-8DEBIAN-CVE-2013-4238
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepython, tkinter, python-libs and 4 more0:2.6.6-51.el6RHSA-2013:1582
Red Hatenterprise_linux:6::hypervisorrhev-hypervisor60:6.5-20131115.0.3.2.el6_5RHSA-2013:1527
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Desktop Applications 15 and 2 morepython2.7.17-7.32.2SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python-base2.7.17-7.32.1SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
openSUSELeap 15.1python3, python3-base3.6.10-lp151.6.7.1openSUSE-SU-2020:0086-1
openSUSETumbleweedpython2.7.12-1.5openSUSE-SU-2024:10450-1
openSUSETumbleweedpython-base2.7.12-1.4openSUSE-SU-2024:10536-1
openSUSETumbleweedpython33.5.1-3.8openSUSE-SU-2024:10100-1
openSUSETumbleweedpython3103.10.0rc1-4.2openSUSE-SU-2024:11283-1
openSUSETumbleweedpython3113.11.0b1-1.1openSUSE-SU-2024:12089-1
openSUSETumbleweedpython3123.12.0a7-1.1openSUSE-SU-2024:12910-1
openSUSETumbleweedpython3133.13.0~b3-1.1openSUSE-SU-2024:14109-1
openSUSETumbleweedpython3143.14.0~a1-1.1openSUSE-SU-2024:14434-1
openSUSETumbleweedpython3153.15.0~a1-1.1openSUSE-SU-2025:15713-1
openSUSETumbleweedpython363.6.15-1.1openSUSE-SU-2024:11284-1
openSUSETumbleweedpython383.8.12-1.2openSUSE-SU-2024:11285-1
1 more for openSUSE in the JSON and on openSUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect the version of python as shipped with Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this issue as having moderate security impact, a future update may address this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6python-0:2.6.6-51.el6Fixed 2013-11-20RHSA-2013:1582
RHEV 3.X Hypervisor and Agents for RHEL-6rhev-hypervisor6-0:6.5-20131115.0.3.2.el6_5Fixed 2013-11-21RHSA-2013:1527
Red Hat Enterprise Linux 5pythonNot affected
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Software Collectionspython27-pythonNot affected
Red Hat Software Collectionspython33-pythonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-4238.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON