Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12698

demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call. This can occur during execution of objdump.

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

Source evidence

CVE-2018-12698

core-osv · Original source

Published 23 Jun 2018, 23:29 UTC

demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call. This can occur during execution of objdump.

osv:CVE-2018-12698
Complete source record
{
  "id": "827e3471a12a6de4a3ec7c425d64ac56aad08dcd61b09bc1852cc5d3d3897c75",
  "url": "https://osv.dev/vulnerability/CVE-2018-12698",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12698",
    "summary": "demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the \"Create an array for saving the template argument values\" XNEWVEC call. This can occur during execution of objdump.",
    "evidence": "osv:CVE-2018-12698",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-12698",
      "aliases": [
        "CVE-2018-12698"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8db5daf9efe8a6174d3b10ac7bba8c178836e9ce"
                },
                {
                  "last_affected": "8db5daf9efe8a6174d3b10ac7bba8c178836e9ce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:2.30:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.30"
                      },
                      {
                        "last_affected": "2.30"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.30",
            "binutils-2_30"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12698.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:24.246022004Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/4326-1/",
        "https://usn.ubuntu.com/4336-1/",
        "https://security.gentoo.org/glsa/201908-01",
        "https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454",
        "https://sourceware.org/bugzilla/show_bug.cgi?id=23057",
        "https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04.4:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04.4"
                  },
                  {
                    "last_affected": "16.04.4"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-12698",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431101,
  "published_at": "2018-06-23T23:29:00.283+00:00"
}