{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-39480",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-39480",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-05T06:55:09.241Z",
    "updatedAt": "2026-08-05T11:33:34.087Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "kdb: Fix buffer overflow during tab-complete",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nkdb: Fix buffer overflow during tab-complete\n\nCurrently, when the user attempts symbol completion with the Tab key, kdb\nwill use strncpy() to insert the completed symbol into the command buffer.\nUnfortunately it passes the size of the source buffer rather than the\ndestination to strncpy() with predictably horrible results. Most obviously\nif the command buffer is already full but cp, the cursor position, is in\nthe middle of the buffer, then we will write past the end of the supplied\nbuffer.\n\nFix this by replacing the dubious strncpy() calls with memmove()/memcpy()\ncalls plus explicit boundary checks to make sure we have enough space\nbefore we start moving characters around.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fb824a99e148ff272a53d71d84122728b5f00992"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ddd2972d8e2dee3b33e8121669d55def59f0be8a"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cfdc2fa4db57503bc6d3817240547c8ddc55fa96"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f636a40834d22e5e3fc748f060211879c056cd33"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "33d9c814652b971461d1e30bead6792851c209e7"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "107e825cc448b7834b31e8b1b3cf0f57426d46d5"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f694da720dcf795dc3eb97bf76d220213f76aaa7"
            },
            {
              "version": "5d5314d6795f3c1c0f415348ff8c51f7de042b77",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e9730744bf3af04cda23799029342aa3cddbc454"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.35",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.35"
            },
            {
              "version": "4.19.316",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.278",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.219",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.161",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.94",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}