{
  "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-38585",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-38585",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-06-19T13:37:41.170Z",
    "updatedAt": "2026-05-11T20:19:34.175Z",
    "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": "tools/nolibc/stdlib: fix memory error in realloc()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ntools/nolibc/stdlib: fix memory error in realloc()\n\nPass user_p_len to memcpy() instead of heap->len to prevent realloc()\nfrom copying an extra sizeof(heap) bytes from beyond the allocated\nregion.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0e0ff638400be8f497a35b51a4751fd823f6bd6a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5996b2b2dac739f2a27da13de8eee5b85b2550b3"
            },
            {
              "version": "0e0ff638400be8f497a35b51a4751fd823f6bd6a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f678c3c336559cf3255a32153e9a17c1be4e7c15"
            },
            {
              "version": "0e0ff638400be8f497a35b51a4751fd823f6bd6a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8019d3dd921f39a237a9fab6d2ce716bfac0f983"
            },
            {
              "version": "0e0ff638400be8f497a35b51a4751fd823f6bd6a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4e6f225aefeb712cdb870176b6621f02cf235b8c"
            },
            {
              "version": "0e0ff638400be8f497a35b51a4751fd823f6bd6a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "791f4641142e2aced85de082e5783b4fb0b977c2"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.19"
            },
            {
              "version": "6.1.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.33",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.8.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}