{
  "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-40200",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40200",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-11-12T21:56:33.783Z",
    "updatedAt": "2026-05-11T21:44:41.773Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "Squashfs: reject negative file sizes in squashfs_read_inode()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nSquashfs: reject negative file sizes in squashfs_read_inode()\n\nSyskaller reports a \"WARNING in ovl_copy_up_file\" in overlayfs.\n\nThis warning is ultimately caused because the underlying Squashfs file\nsystem returns a file with a negative file size.\n\nThis commit checks for a negative file size and returns EINVAL.\n\n[phillip@squashfs.org.uk: only need to check 64 bit quantity]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "54170057a5fadd24a37b70de41e61d39284d9bd7"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2871c74caa3f4f05b429e6bfefebac62dbf1b408"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fbfc745db628de31f5c089147deeb87e95b89e66"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8118f66124895829443d09c207e654adcb2f9321"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8c7aad76751816207fee556d44aa88a710824810"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "875fb3f87ae0225b881319ba016a1a8c4ffd5812"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f271155ff31aca8ef82c61c8df23ca97e9a77dd4"
            },
            {
              "version": "6545b246a2c815a8fcd07d58240effb6ec3481b1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.29",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.29"
            },
            {
              "version": "5.4.301",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.246",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.195",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.157",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.113",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.54",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}