{
  "id": "CVE-2026-71226",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-71226",
  "published_at": "2026-08-05T12:37:17.36Z",
  "title": "Libkcapi: memory corruption via uncanceled aio requests on error in libkcapi's one-shot aio path",
  "vendor": "Stephan Muelle",
  "product": "libkcapi",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Memory Corruption via Uncanceled AIO Requests on Error: libkcapi's one-shot AIO path can return an error before all submitted IOCBs are drained, allowing later kernel writes into caller-owned output buffers.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:smuellerdd:libkcapi:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Stephan Muelle",
        "product": "libkcapi",
        "ranges": [
          "\u003e= 0.12.0, \u003c 1.5.1"
        ],
        "fixed_in": [
          "1.5.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:1.5.1-1.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.5.0-6.el10_0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:1.4.0-3.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:1.2.0-3.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.2.0-3.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:1.4.0-3.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.4.0-2.el9_6.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.22",
        "ranges": null,
        "fixed_in": [
          "4.22.9.8.202611032353-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 5.0",
        "ranges": null,
        "fixed_in": [
          "5.0.10.2.202611022203-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Hardened Images",
        "ranges": null,
        "fixed_in": [
          "1.5.1-0.1.hum1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade libkcapi to 1.5.1 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:1.5.1-1.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.5.0-6.el10_0 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:1.4.0-3.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.2.0-3.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.2.0-3.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:1.4.0-3.el9_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.4.0-2.el9_6.1 or later.",
      "Upgrade Red Hat OpenShift Container Platform 4.22 to 4.22.9.8.202611032353-0 or later.",
      "Upgrade Red Hat OpenShift Container Platform 5.0 to 5.0.10.2.202611022203-0 or later.",
      "Upgrade Red Hat Hardened Images to 1.5.1-0.1.hum1 or later."
    ],
    "workarounds": [
      "To mitigate this issue, applications should avoid initializing libkcapi handles with the `KCAPI_INIT_AIO` flag, preferring synchronous interfaces instead. If the real AIO path must be enabled, applications must ensure that `outiov` buffers are not immediately freed or reused after an error return, allowing all kernel completions to finish. This operational control prevents delayed kernel writes into potentially reallocated or freed memory."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:56985"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:67265"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:67266"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:67267"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:69285"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:87712"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:93453"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:94537"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
