RHSA-2026:16736

Vulnerability from csaf_redhat - Published: 2026-05-13 02:44 - Updated: 2026-05-15 12:15
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Severity
Important
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs: rust: * cargo-1.95.0-5.hum1 (aarch64, x86_64) * clippy-1.95.0-5.hum1 (aarch64, x86_64) * rust-1.95.0-5.hum1 (aarch64, x86_64) * rust-analyzer-1.95.0-5.hum1 (aarch64, x86_64) * rust-debugger-common-1.95.0-5.hum1 (noarch) * rust-doc-1.95.0-5.hum1 (aarch64, x86_64) * rust-gdb-1.95.0-5.hum1 (noarch) * rust-lldb-1.95.0-5.hum1 (noarch) * rust-src-1.95.0-5.hum1 (noarch) * rust-std-static-1.95.0-5.hum1 (aarch64, x86_64) * rust-std-static-aarch64-unknown-none-softfloat-1.95.0-5.hum1 (aarch64) * rust-std-static-aarch64-unknown-uefi-1.95.0-5.hum1 (aarch64) * rust-std-static-i686-pc-windows-gnu-1.95.0-5.hum1 (noarch) * rust-std-static-wasm32-unknown-unknown-1.95.0-5.hum1 (noarch) * rust-std-static-wasm32-wasip1-1.95.0-5.hum1 (noarch) * rust-std-static-x86_64-pc-windows-gnu-1.95.0-5.hum1 (noarch) * rust-std-static-x86_64-unknown-none-1.95.0-5.hum1 (x86_64) * rust-std-static-x86_64-unknown-uefi-1.95.0-5.hum1 (x86_64) * rustfmt-1.95.0-5.hum1 (aarch64, x86_64) * rust-1.95.0-5.hum1.src (src)
Terms of Use: 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.

A flaw was found in the libssh2 library. A remote attacker can exploit an integer overflow vulnerability in the `userauth_password` function by manipulating the `username_len` or `password_len` arguments and cause a heap-based buffer overflow. This leads to a crash to the application linked to the library and potentially allows arbitrary code execution.

CWE-190 - Integer Overflow or Wraparound
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:rust-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:rust-main@noarch
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:rust-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:rust-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Important

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "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\nrust:\n  * cargo-1.95.0-5.hum1 (aarch64, x86_64)\n  * clippy-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-analyzer-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-debugger-common-1.95.0-5.hum1 (noarch)\n  * rust-doc-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-gdb-1.95.0-5.hum1 (noarch)\n  * rust-lldb-1.95.0-5.hum1 (noarch)\n  * rust-src-1.95.0-5.hum1 (noarch)\n  * rust-std-static-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-std-static-aarch64-unknown-none-softfloat-1.95.0-5.hum1 (aarch64)\n  * rust-std-static-aarch64-unknown-uefi-1.95.0-5.hum1 (aarch64)\n  * rust-std-static-i686-pc-windows-gnu-1.95.0-5.hum1 (noarch)\n  * rust-std-static-wasm32-unknown-unknown-1.95.0-5.hum1 (noarch)\n  * rust-std-static-wasm32-wasip1-1.95.0-5.hum1 (noarch)\n  * rust-std-static-x86_64-pc-windows-gnu-1.95.0-5.hum1 (noarch)\n  * rust-std-static-x86_64-unknown-none-1.95.0-5.hum1 (x86_64)\n  * rust-std-static-x86_64-unknown-uefi-1.95.0-5.hum1 (x86_64)\n  * rustfmt-1.95.0-5.hum1 (aarch64, x86_64)\n  * rust-1.95.0-5.hum1.src (src)",
        "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:16736",
        "url": "https://access.redhat.com/errata/RHSA-2026:16736"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-7598",
        "url": "https://access.redhat.com/security/cve/CVE-2026-7598"
      },
      {
        "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_16736.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking": {
      "current_release_date": "2026-05-15T12:15:53+00:00",
      "generator": {
        "date": "2026-05-15T12:15:53+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.8.0"
        }
      },
      "id": "RHSA-2026:16736",
      "initial_release_date": "2026-05-13T02:44:33+00:00",
      "revision_history": [
        {
          "date": "2026-05-13T02:44:33+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-13T14:41:25+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-05-15T12:15:53+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": "rust-main@aarch64",
                "product": {
                  "name": "rust-main@aarch64",
                  "product_id": "rust-main@aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/cargo@1.95.0-5.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "rust-main@x86_64",
                "product": {
                  "name": "rust-main@x86_64",
                  "product_id": "rust-main@x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/cargo@1.95.0-5.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "rust-main@src",
                "product": {
                  "name": "rust-main@src",
                  "product_id": "rust-main@src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rust@1.95.0-5.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "rust-main@noarch",
                "product": {
                  "name": "rust-main@noarch",
                  "product_id": "rust-main@noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/rust-debugger-common@1.95.0-5.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rust-main@aarch64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:rust-main@aarch64"
        },
        "product_reference": "rust-main@aarch64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rust-main@noarch as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:rust-main@noarch"
        },
        "product_reference": "rust-main@noarch",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rust-main@src as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:rust-main@src"
        },
        "product_reference": "rust-main@src",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rust-main@x86_64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:rust-main@x86_64"
        },
        "product_reference": "rust-main@x86_64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-7598",
      "cwe": {
        "id": "CWE-190",
        "name": "Integer Overflow or Wraparound"
      },
      "discovery_date": "2026-05-01T22:00:54.329797+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2464597"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the libssh2 library. A remote attacker can exploit an integer overflow vulnerability in the `userauth_password` function by manipulating the `username_len` or `password_len` arguments and cause a heap-based buffer overflow. This leads to a crash to the application linked to the library and potentially allows arbitrary code execution.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libssh2: integer overflow via large username or password arguments",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "To exploit this flaw, an attacker needs to be able to supply an excessively large value to the arguments of the `userauth_password` function, typically to an application processing untrusted SSH authentication requests. The primary security impact of this issue is a crash to the application linked to the library due to memory corruption, potentially allowing arbitrary code execution.\n\nDefault Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.\n\nDue to these reasons, this vulnerability has been rated with an important severity.",
          "title": "Statement"
        },
        {
          "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:rust-main@aarch64",
          "Red Hat Hardened Images:rust-main@noarch",
          "Red Hat Hardened Images:rust-main@src",
          "Red Hat Hardened Images:rust-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-7598"
        },
        {
          "category": "external",
          "summary": "RHBZ#2464597",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2464597"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-7598",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-7598"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-7598",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7598"
        },
        {
          "category": "external",
          "summary": "https://github.com/libssh2/libssh2/",
          "url": "https://github.com/libssh2/libssh2/"
        },
        {
          "category": "external",
          "summary": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1",
          "url": "https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1"
        },
        {
          "category": "external",
          "summary": "https://github.com/libssh2/libssh2/pull/1858",
          "url": "https://github.com/libssh2/libssh2/pull/1858"
        },
        {
          "category": "external",
          "summary": "https://vuldb.com/submit/805564",
          "url": "https://vuldb.com/submit/805564"
        },
        {
          "category": "external",
          "summary": "https://vuldb.com/vuln/360555",
          "url": "https://vuldb.com/vuln/360555"
        },
        {
          "category": "external",
          "summary": "https://vuldb.com/vuln/360555/cti",
          "url": "https://vuldb.com/vuln/360555/cti"
        }
      ],
      "release_date": "2026-05-01T21:30:11.006000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-05-13T02:44:33+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:rust-main@aarch64",
            "Red Hat Hardened Images:rust-main@noarch",
            "Red Hat Hardened Images:rust-main@src",
            "Red Hat Hardened Images:rust-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:16736"
        },
        {
          "category": "workaround",
          "details": "To mitigate this flaw, applications linked to the libssh2 library should be configured or updated to exclusively use public key authentication. Explicitly disabling password-based logins prevents the application from executing the vulnerable userauth_password function.",
          "product_ids": [
            "Red Hat Hardened Images:rust-main@aarch64",
            "Red Hat Hardened Images:rust-main@noarch",
            "Red Hat Hardened Images:rust-main@src",
            "Red Hat Hardened Images:rust-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.1,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:rust-main@aarch64",
            "Red Hat Hardened Images:rust-main@noarch",
            "Red Hat Hardened Images:rust-main@src",
            "Red Hat Hardened Images:rust-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "libssh2: integer overflow via large username or password arguments"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…