Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45078

stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write. NOTE: this issue exists because of an incorrect fix for CVE-2018-12699.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45078
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:04 UTC · Revision 1

Source evidence

CVE-2021-45078

core-osv · Original source

Published 15 Dec 2021, 20:15 UTC

stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write. NOTE: this issue exists because of an incorrect fix for CVE-2018-12699.

osv:CVE-2021-45078
Complete source record
{
  "id": "c7bec7944332c759d62ed99a5816702c31a2c89643b51579cb1440a1f04d4574",
  "url": "https://osv.dev/vulnerability/CVE-2021-45078",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45078",
    "summary": "stab_xcoff_builtin_type in stabs.c in GNU Binutils through 2.37 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write. NOTE: this issue exists because of an incorrect fix for CVE-2018-12699.",
    "evidence": "osv:CVE-2021-45078",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-45078",
      "aliases": [
        "CVE-2021-45078"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "116a737f438d03a1bd6aa706b6ea0b4022f3b7e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.37"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "binutils-2_37",
            "gdb-10-branchpoint",
            "gdb-9-branchpoint",
            "gdb-8.3-branchpoint",
            "users/ARM/embedded-gdb-master-2018q4",
            "users/ARM/embedded-binutils-master-2018q4",
            "gdb-8.2-branchpoint",
            "gdb-8.1-branchpoint",
            "users/ARM/embedded-gdb-master-2017q4",
            "users/ARM/embedded-binutils-master-2017q4",
            "gdb-8.0-branchpoint",
            "users/ARM/embedded-binutils-master-2016q4",
            "gdb-7.12-branchpoint",
            "gdb-7.11-branchpoint",
            "gdb-7.10-branchpoint",
            "gdb-7.9-branchpoint",
            "gdb-7.8-branchpoint",
            "gdb-7.7-branchpoint",
            "gdb_7_6-branchpoint",
            "gdb_7_5-branchpoint",
            "gdb_7_4-branchpoint",
            "gdb_7_3-branchpoint",
            "gdb_7_2-branchpoint",
            "gdb_7_1-branchpoint",
            "gdb_7_0-branchpoint",
            "gdb_6_8-branchpoint",
            "gdb_6_7-branchpoint",
            "gdb_6_6-branchpoint",
            "gdb_6_5-branchpoint",
            "gdb_6_4-branchpoint",
            "gdb_6_3-branchpoint",
            "gdb_6_2-branchpoint",
            "gdb_6_1-branchpoint",
            "gdb_6_0-branchpoint",
            "gdb_5_3-branchpoint",
            "gdb_5_2-branchpoint",
            "gdb-4_18-branchpoint"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45078.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:02.495847537Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQBH244M5PV6S6UMHUTCVCWFZDX7Y4M6/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UUHLDDT3HH7YEY6TX7IJRGPJUTNNVEL3/",
        "https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=161e87d12167b1e36193385485c1f6ce92f74f02",
        "https://security.gentoo.org/glsa/202208-30",
        "https://security.netapp.com/advisory/ntap-20220107-0002/",
        "https://sourceware.org/bugzilla/show_bug.cgi?id=28694"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  },
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-45078",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 440027,
  "published_at": "2021-12-15T20:15:08.797+00:00"
}