{
  "id": "CVE-2026-102010",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102010",
  "published_at": "2026-09-28T18:54:31.739Z",
  "title": "Gcc-toolset-15-gcc: gcc: gcc-toolset-16: gcc: denial of service via use-after-free in binary heap erase_if",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 10",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/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": "A flaw was found in GCC. When an application calls the erase_if function on a binary heap priority queue in libstdc++, the library reallocates storage but fails to update its internal entry pointer. An attacker capable of triggering this operation can exploit this use-after-free condition, leading to a Denial of Service (DoS) via an application crash or potential memory corruption.",
  "cwe": "CWE-825",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:15.2.1-7.1.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:15.2.1-8.1.el10_3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:16.2.1-1.3.el10_3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:14.4.1-4.el10_3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:14.3.1-4.5.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:8.5.0-30.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:15.2.1-7.2.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:8.5.0-30.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:15.2.1-7.3.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:11.5.0-16.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:16.2.1-1.3.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:11.5.0-16.el9_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:11.5.0-15.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:15.2.1-7.3.el9_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Hardened Images",
        "ranges": null,
        "fixed_in": [
          "13.5.0-0.2.hum1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Hardened Images",
        "ranges": null,
        "fixed_in": [
          "16.2.1-3.hum1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Hardened Images",
        "ranges": null,
        "fixed_in": [
          "16.2.1-3.2.hum1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:15.2.1-7.1.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:15.2.1-8.1.el10_3 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:16.2.1-1.3.el10_3 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:14.4.1-4.el10_3 or later.",
      "Upgrade Red Hat Enterprise Linux 10.2 Extended Update Support to 0:14.3.1-4.5.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:8.5.0-30.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:15.2.1-7.2.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:8.5.0-30.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:15.2.1-7.3.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:11.5.0-16.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:16.2.1-1.3.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:11.5.0-16.el9_9 or later.",
      "Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:11.5.0-15.el9_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:15.2.1-7.3.el9_8 or later.",
      "Upgrade Red Hat Hardened Images to 13.5.0-0.2.hum1 or later.",
      "Upgrade Red Hat Hardened Images to 16.2.1-3.hum1 or later.",
      "Upgrade Red Hat Hardened Images to 16.2.1-3.2.hum1 or later."
    ],
    "workarounds": [
      "Applications can mitigate this issue by avoiding calls to erase_if() on __gnu_pbds::priority_queue containers that use the binary_heap_tag backend. Where predicate-based removal is required, use an alternative container or a different heap backend in application code. Apart from applying a fixed package when one becomes available, no other mitigation is currently available."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:73642"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:74569"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:89830"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:89891"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:90915"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:95581"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:98474"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:98475"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
