RHSA-2026:10118
Vulnerability from csaf_redhat - Published: 2026-04-23 11:34 - Updated: 2026-04-23 11:36A flaw was found in the `tarfile` module of cpython. This vulnerability allows a remote attacker to craft a malicious tar archive that, when processed, could be misinterpreted by the `tarfile` module. This misinterpretation occurs because the module incorrectly applies normalization of `AREGTYPE` blocks to `DIRTYPE` during the processing of multi-block members, such as `GNUTYPE_LONGNAME` or `GNUTYPE_LONGLINK`. The consequence is that the `tarfile` module may process the archive differently than intended, potentially leading to unexpected file system changes or data integrity issues.
CWE-237 - Improper Handling of Structural ElementsA flaw was found in the Python base64 module. When decoding base64 data using functions like base64.b64decode(), the decoding process prematurely stops upon encountering the first padding character. This can result in incomplete data being processed, where any information following the initial padding is unexpectedly ignored. Consequently, applications might interpret or handle base64-encoded data inconsistently compared to other implementations, potentially leading to data integrity issues.
A flaw was found in Python's `pkgutil.get_data()` function, which is used to retrieve data from packages. This function did not properly validate the `resource` argument, allowing a local attacker to perform path traversal attacks. Path traversal enables an attacker to access files and directories stored outside the intended root directory, potentially leading to information disclosure or unintended file access.
CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'){
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\npython3.12:\n * python3.12-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-debug-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-devel-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-idle-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-libs-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-test-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-tkinter-3.12.13-3.1.hum1 (aarch64, x86_64)\n * python3.12-3.12.13-3.1.hum1.src (src)\n\nSecurity Fix(es):\n\npython3.12:\n * CVE-2025-13462\n * CVE-2026-3446\n * CVE-2026-3479",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:10118",
"url": "https://access.redhat.com/errata/RHSA-2026:10118"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2025-13462",
"url": "https://access.redhat.com/security/cve/CVE-2025-13462"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-3446",
"url": "https://access.redhat.com/security/cve/CVE-2026-3446"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-3479",
"url": "https://access.redhat.com/security/cve/CVE-2026-3479"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_10118.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-04-23T11:36:43+00:00",
"generator": {
"date": "2026-04-23T11:36:43+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.7.5"
}
},
"id": "RHSA-2026:10118",
"initial_release_date": "2026-04-23T11:34:58+00:00",
"revision_history": [
{
"date": "2026-04-23T11:34:58+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-04-23T11:35:35+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-04-23T11:36:43+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "python3-12-main@aarch64",
"product": {
"name": "python3-12-main@aarch64",
"product_id": "python3-12-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12@3.12.13-3.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "python3-12-main@src",
"product": {
"name": "python3-12-main@src",
"product_id": "python3-12-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12@3.12.13-3.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python3-12-main@x86_64",
"product": {
"name": "python3-12-main@x86_64",
"product_id": "python3-12-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3.12@3.12.13-3.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-12-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python3-12-main@aarch64"
},
"product_reference": "python3-12-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-12-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python3-12-main@src"
},
"product_reference": "python3-12-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python3-12-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python3-12-main@x86_64"
},
"product_reference": "python3-12-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2025-13462",
"cwe": {
"id": "CWE-237",
"name": "Improper Handling of Structural Elements"
},
"discovery_date": "2026-03-12T19:01:27.734807+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2447082"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `tarfile` module of cpython. This vulnerability allows a remote attacker to craft a malicious tar archive that, when processed, could be misinterpreted by the `tarfile` module. This misinterpretation occurs because the module incorrectly applies normalization of `AREGTYPE` blocks to `DIRTYPE` during the processing of multi-block members, such as `GNUTYPE_LONGNAME` or `GNUTYPE_LONGLINK`. The consequence is that the `tarfile` module may process the archive differently than intended, potentially leading to unexpected file system changes or data integrity issues.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2025-13462"
},
{
"category": "external",
"summary": "RHBZ#2447082",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2447082"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2025-13462",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-13462"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2025-13462",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-13462"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/issues/141707",
"url": "https://github.com/python/cpython/issues/141707"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/pull/143934",
"url": "https://github.com/python/cpython/pull/143934"
},
{
"category": "external",
"summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/",
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/"
}
],
"release_date": "2026-03-12T17:59:26.620000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-23T11:34:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:10118"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 2.5,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Low"
}
],
"title": "cpython: cpython: `tarfile` module misinterprets crafted tar archives leading to data integrity issues"
},
{
"cve": "CVE-2026-3446",
"cwe": {
"id": "CWE-1286",
"name": "Improper Validation of Syntactic Correctness of Input"
},
"discovery_date": "2026-04-10T19:01:22.358644+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2457410"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the Python base64 module. When decoding base64 data using functions like base64.b64decode(), the decoding process prematurely stops upon encountering the first padding character. This can result in incomplete data being processed, where any information following the initial padding is unexpectedly ignored. Consequently, applications might interpret or handle base64-encoded data inconsistently compared to other implementations, potentially leading to data integrity issues.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python: Python base64: Incomplete data decoding due to premature stop at padding",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-3446"
},
{
"category": "external",
"summary": "RHBZ#2457410",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457410"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-3446",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-3446"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-3446",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3446"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474",
"url": "https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e",
"url": "https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa",
"url": "https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/issues/145264",
"url": "https://github.com/python/cpython/issues/145264"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/pull/145267",
"url": "https://github.com/python/cpython/pull/145267"
},
{
"category": "external",
"summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/F5ZT5ICGJ6CKXVUJ34YBVY7WOZ5SHG53/",
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F5ZT5ICGJ6CKXVUJ34YBVY7WOZ5SHG53/"
}
],
"release_date": "2026-04-10T18:17:35.045000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-23T11:34:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:10118"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "python: Python base64: Incomplete data decoding due to premature stop at padding"
},
{
"cve": "CVE-2026-3479",
"cwe": {
"id": "CWE-22",
"name": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
},
"discovery_date": "2026-03-18T19:01:35.703411+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2448746"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in Python\u0027s `pkgutil.get_data()` function, which is used to retrieve data from packages. This function did not properly validate the `resource` argument, allowing a local attacker to perform path traversal attacks. Path traversal enables an attacker to access files and directories stored outside the intended root directory, potentially leading to information disclosure or unintended file access.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "python: Python pkgutil.get_data(): Path Traversal via improper resource argument validation",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-3479"
},
{
"category": "external",
"summary": "RHBZ#2448746",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448746"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-3479",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-3479"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-3479",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3479"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/issues/146121",
"url": "https://github.com/python/cpython/issues/146121"
},
{
"category": "external",
"summary": "https://github.com/python/cpython/pull/146122",
"url": "https://github.com/python/cpython/pull/146122"
},
{
"category": "external",
"summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/",
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/WYLLVQOOCKGK73JM7Z7ZSNOJC4N7BAWY/"
}
],
"release_date": "2026-03-18T18:13:42.288000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-23T11:34:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:10118"
},
{
"category": "workaround",
"details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
"product_ids": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 3.3,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python3-12-main@aarch64",
"Red Hat Hardened Images:python3-12-main@src",
"Red Hat Hardened Images:python3-12-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Low"
}
],
"title": "python: Python pkgutil.get_data(): Path Traversal via improper resource argument validation"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.