{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0.9.0"
              },
              {
                "fixed": "0.11.5"
              },
              {
                "introduced": "0.12.0"
              },
              {
                "last_affected": "0.12.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "79900e5246da9a1712d8822a53aaf5fd0abc6f40"
            },
            {
              "fixed": "a09fdd00416e53b6ed436df6ff14339a4f884601"
            },
            {
              "introduced": "50313883f3a077458cde4ea95bf46bfeb0771b34"
            },
            {
              "last_affected": "50313883f3a077458cde4ea95bf46bfeb0771b34"
            }
          ],
          "repo": "https://gitlab.com/libssh/libssh-mirror",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.12.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-253"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59847.json"
  },
  "details": "A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.",
  "id": "CVE-2026-59847",
  "modified": "2026-09-06T03:30:13.721525955Z",
  "published": "2026-07-21T13:18:18.146Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://catalog.redhat.com/software/containers/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:42922"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:55855"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:62217"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:62218"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-59847"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59847.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59847"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2498180"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification"
}