{
  "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-2025-71197",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-71197",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2026-02-04T16:07:32.198Z",
    "updatedAt": "2026-10-15T01:11:13.156Z",
    "importedAt": "2026-10-24T01:57:44.935Z",
    "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": "w1: therm: Fix off-by-one buffer overflow in alarms_store",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nw1: therm: Fix off-by-one buffer overflow in alarms_store\n\nThe sysfs buffer passed to alarms_store() is allocated with 'size + 1'\nbytes and a NUL terminator is appended. However, the 'size' argument\ndoes not account for this extra byte. The original code then allocated\n'size' bytes and used strcpy() to copy 'buf', which always writes one\nbyte past the allocated buffer since strcpy() copies until the NUL\nterminator at index 'size'.\n\nFix this by parsing the 'buf' parameter directly using simple_strtoll()\nwithout allocating any intermediate memory or string copying. This\nremoves the overflow while simplifying the code.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "49ff9b4b9deacbefa6654a0a2bcaf910c9de7e95"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "060b08d72a38b158a7f850d4b83c17c2969e0f6b"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b3fc3e1f04dcc7c41787bbf08a6e0d2728e022cf"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6a5820ecfa5a76c3d3e154802c8c15f391ef442e"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6fd6d2a8e41b7f544a4d26cbd60bedf9c67893a0"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e6b2609af21b5cccc9559339591b8a2cbf884169"
            },
            {
              "version": "e2c94d6f572079511945e64537eb1218643f2e68",
              "status": "affected",
              "versionType": "git",
              "lessThan": "761fcf46a1bd797bd32d23f3ea0141ffd437668a"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.8"
            },
            {
              "version": "5.10.249",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.199",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.162",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.122",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.68",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}