{
  "document" : {
    "aggregate_severity" : {
      "namespace" : "https://access.redhat.com/security/updates/classification/",
      "text" : "Moderate"
    },
    "category" : "csaf_security_advisory",
    "csaf_version" : "2.0",
    "distribution" : {
      "text" : "Copyright © 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.13:\n  * python3.13-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-debug-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-devel-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-freethreading-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-freethreading-debug-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-idle-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-libs-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-test-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-tkinter-3.13.12-2.hum1 (aarch64, x86_64)\n  * python3.13-3.13.12-2.hum1.src (source)",
      "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:5979",
      "url" : "https://access.redhat.com/errata/RHSA-2026:5979"
    }, {
      "category" : "external",
      "summary" : "https://images.redhat.com/",
      "url" : "https://images.redhat.com/"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/cve/CVE-2025-15366",
      "url" : "https://access.redhat.com/security/cve/CVE-2025-15366"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/updates/classification/",
      "url" : "https://access.redhat.com/security/updates/classification/"
    }, {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_5979.json"
    } ],
    "title" : "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking" : {
      "current_release_date" : "2026-05-12T08:30:01+00:00",
      "generator" : {
        "date" : "2026-05-12T08:30:01+00:00",
        "engine" : {
          "name" : "Red Hat SDEngine",
          "version" : "4.7.9"
        }
      },
      "id" : "RHSA-2026:5979",
      "initial_release_date" : "2026-03-27T07:34:27+00:00",
      "revision_history" : [ {
        "date" : "2026-03-27T07:34:27+00:00",
        "number" : "1",
        "summary" : "Initial version"
      }, {
        "date" : "2026-04-23T23:41:20+00:00",
        "number" : "2",
        "summary" : "Last updated version"
      }, {
        "date" : "2026-05-12T08:30:01+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-13-main@aarch64",
          "product" : {
            "name" : "python3-13-main@aarch64",
            "product_id" : "python3-13-main@aarch64",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/python3.13@3.13.12-2.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "aarch64"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "python3-13-main@src",
          "product" : {
            "name" : "python3-13-main@src",
            "product_id" : "python3-13-main@src",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/python3.13@3.13.12-2.hum1?arch=source&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "src"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "python3-13-main@x86_64",
          "product" : {
            "name" : "python3-13-main@x86_64",
            "product_id" : "python3-13-main@x86_64",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/python3.13@3.13.12-2.hum1?arch=x86_64&distro=hummingbird-20251124&repository_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-13-main@aarch64 as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:python3-13-main@aarch64"
      },
      "product_reference" : "python3-13-main@aarch64",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    }, {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "python3-13-main@src as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:python3-13-main@src"
      },
      "product_reference" : "python3-13-main@src",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    }, {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "python3-13-main@x86_64 as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:python3-13-main@x86_64"
      },
      "product_reference" : "python3-13-main@x86_64",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    } ]
  },
  "vulnerabilities" : [ {
    "cve" : "CVE-2025-15366",
    "cwe" : {
      "id" : "CWE-77",
      "name" : "Improper Neutralization of Special Elements used in a Command ('Command Injection')"
    },
    "discovery_date" : "2026-01-20T22:01:33.257688+00:00",
    "ids" : [ {
      "system_name" : "Red Hat Bugzilla ID",
      "text" : "2431368"
    } ],
    "notes" : [ {
      "category" : "description",
      "text" : "A flaw was found in the imaplib module in the Python standard library. The imaplib module does not reject control characters, such as newlines, in user-controlled input passed to IMAP commands. This issue allows an attacker to inject additional commands to be executed in the IMAP server.",
      "title" : "Vulnerability description"
    }, {
      "category" : "summary",
      "text" : "cpython: IMAP command injection in user-controlled commands",
      "title" : "Vulnerability summary"
    }, {
      "category" : "other",
      "text" : "To exploit this issue, an attacker needs to have the privileges required to send malicious input to an application that sends IMAP commands to a server. Additionally, this flaw can allow attackers to manipulate the state of the mailbox (e.g., delete emails, move folders, flag messages) and to potentially read metadata or specific email content, but it does not allow arbitrary code execution or OS command injection. Due to these reasons, this issue has been rated with a moderate severity.",
      "title" : "Statement"
    }, {
      "category" : "general",
      "text" : "The CVSS score(s) listed for this vulnerability do not reflect the associated product's 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-13-main@aarch64", "Red Hat Hardened Images:python3-13-main@src", "Red Hat Hardened Images:python3-13-main@x86_64" ]
    },
    "references" : [ {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://access.redhat.com/security/cve/CVE-2025-15366"
    }, {
      "category" : "external",
      "summary" : "RHBZ#2431368",
      "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2431368"
    }, {
      "category" : "external",
      "summary" : "https://www.cve.org/CVERecord?id=CVE-2025-15366",
      "url" : "https://www.cve.org/CVERecord?id=CVE-2025-15366"
    }, {
      "category" : "external",
      "summary" : "https://nvd.nist.gov/vuln/detail/CVE-2025-15366",
      "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-15366"
    }, {
      "category" : "external",
      "summary" : "https://github.com/python/cpython/issues/143921",
      "url" : "https://github.com/python/cpython/issues/143921"
    }, {
      "category" : "external",
      "summary" : "https://github.com/python/cpython/pull/143922",
      "url" : "https://github.com/python/cpython/pull/143922"
    }, {
      "category" : "external",
      "summary" : "https://mail.python.org/archives/list/security-announce@python.org/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/",
      "url" : "https://mail.python.org/archives/list/security-announce@python.org/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/"
    } ],
    "release_date" : "2026-01-20T21:40:24.938000+00:00",
    "remediations" : [ {
      "category" : "vendor_fix",
      "date" : "2026-03-27T07:34:27+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-13-main@aarch64", "Red Hat Hardened Images:python3-13-main@src", "Red Hat Hardened Images:python3-13-main@x86_64" ],
      "restart_required" : {
        "category" : "none"
      },
      "url" : "https://access.redhat.com/errata/RHSA-2026:5979"
    }, {
      "category" : "workaround",
      "details" : "To mitigate this vulnerability, ensure that no data passed to the imaplib module contains newline or carriage return characters.",
      "product_ids" : [ "Red Hat Hardened Images:python3-13-main@aarch64", "Red Hat Hardened Images:python3-13-main@src", "Red Hat Hardened Images:python3-13-main@x86_64" ]
    } ],
    "scores" : [ {
      "cvss_v3" : {
        "attackComplexity" : "LOW",
        "attackVector" : "NETWORK",
        "availabilityImpact" : "NONE",
        "baseScore" : 7.1,
        "baseSeverity" : "HIGH",
        "confidentialityImpact" : "LOW",
        "integrityImpact" : "HIGH",
        "privilegesRequired" : "LOW",
        "scope" : "UNCHANGED",
        "userInteraction" : "NONE",
        "vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N",
        "version" : "3.1"
      },
      "products" : [ "Red Hat Hardened Images:python3-13-main@aarch64", "Red Hat Hardened Images:python3-13-main@src", "Red Hat Hardened Images:python3-13-main@x86_64" ]
    } ],
    "threats" : [ {
      "category" : "impact",
      "details" : "Moderate"
    } ],
    "title" : "cpython: IMAP command injection in user-controlled commands"
  } ]
}