Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-15650

musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-15650
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2017-15650

core-osv · Original source

Published 19 Oct 2017, 23:29 UTC

musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.

osv:CVE-2017-15650
Complete source record
{
  "id": "5f3c0ec33113a46191846010ed6310fb8c334e2c550ad1ad46acbc7b31cf0b06",
  "url": "https://osv.dev/vulnerability/CVE-2017-15650",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-15650",
    "summary": "musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.",
    "evidence": "osv:CVE-2017-15650",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-15650",
      "aliases": [
        "CVE-2017-15650"
      ],
      "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://git.musl-libc.org/git/musl",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "45ca5d3fcb6f874bf5ba55d0e9651cef68515395"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "45ca5d3fcb6f874bf5ba55d0e9651cef68515395"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.16",
            "v1.1.15",
            "v1.1.14",
            "v1.1.13",
            "v1.1.12",
            "v1.1.11",
            "v1.1.10",
            "v1.1.9",
            "v1.1.8",
            "v1.1.7",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.9.15",
            "v0.9.14",
            "v0.9.13",
            "v0.9.12",
            "v0.9.11",
            "v0.9.10",
            "v0.9.9",
            "v0.9.8",
            "v0.9.7",
            "v0.9.6",
            "v0.9.5",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.10",
            "v0.8.9",
            "v0.8.8",
            "v0.8.7",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.12",
            "v0.7.11",
            "v0.7.10",
            "v0.7.9",
            "v0.7.8",
            "v0.7.7",
            "v0.7.6",
            "v0.7.5",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.9",
            "v0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15650.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-15650-9cf6b4d8",
                "digest": {
                  "length": 789,
                  "function_hash": "65063592785737742352495545225918919199"
                },
                "source": "https://git.musl-libc.org/git/musl@45ca5d3fcb6f874bf5ba55d0e9651cef68515395",
                "target": {
                  "file": "src/network/lookup_name.c",
                  "function": "dns_parse_callback"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-15650-b9f7d064",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "19105209796768762262057181071667862774",
                    "337813073784692095994138226666901462849",
                    "55846828187015184318840200573767133364",
                    "76903974613516892053616754843570385638"
                  ]
                },
                "source": "https://git.musl-libc.org/git/musl@45ca5d3fcb6f874bf5ba55d0e9651cef68515395",
                "target": {
                  "file": "src/network/lookup_name.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:25:14Z"
          }
        }
      ],
      "modified": "2026-10-20T13:25:14.632598046Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:musl-libc:musl:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "musl-libc:musl",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "1.1.6"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.1.17"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-15650",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387660,
  "published_at": "2017-10-19T23:29:00.407+00:00"
}