GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49078 (GCVE-0-2022-49078)

Vulnerability from cvelistv5 – Published: 2025-02-26 01:54 – Updated: 2026-08-05 08:53
VLAI
Title
lz4: fix LZ4_decompress_safe_partial read out of bound
Summary
In the Linux kernel, the following vulnerability has been resolved: lz4: fix LZ4_decompress_safe_partial read out of bound When partialDecoding, it is EOF if we've either filled the output buffer or can't proceed with reading an offset for following match. In some extreme corner cases when compressed data is suitably corrupted, UAF will occur. As reported by KASAN [1], LZ4_decompress_safe_partial may lead to read out of bound problem during decoding. lz4 upstream has fixed it [2] and this issue has been disscussed here [3] before. current decompression routine was ported from lz4 v1.8.3, bumping lib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we'd better fix it first. [1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/ [2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad# [3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-02-27 17:59 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3 (git)
Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < 6adc01a7aa37445dafe8846faa0610a86029b253 (git)
Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < 9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927 (git)
Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < e64dbe97c05c769525cbca099ddbd22485630235 (git)
Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < 467d5e200ab4486b744fe1776154a43d1aa22d4b (git)
Affected: 2209fda323e2fd2a2d0885595fd5097717f8d2aa , < eafc0a02391b7b36617b36c97c4b5d6832cf5e24 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.20
Unaffected: 0 , < 4.20 (semver)
Unaffected: 5.4.189 , ≤ 5.4.* (semver)
Unaffected: 5.10.111 , ≤ 5.10.* (semver)
Unaffected: 5.15.34 , ≤ 5.15.* (semver)
Unaffected: 5.16.20 , ≤ 5.16.* (semver)
Unaffected: 5.17.3 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49078",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T17:59:16.973304Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T18:02:29.956Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "lib/lz4/lz4_decompress.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            },
            {
              "lessThan": "6adc01a7aa37445dafe8846faa0610a86029b253",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            },
            {
              "lessThan": "9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            },
            {
              "lessThan": "e64dbe97c05c769525cbca099ddbd22485630235",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            },
            {
              "lessThan": "467d5e200ab4486b744fe1776154a43d1aa22d4b",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            },
            {
              "lessThan": "eafc0a02391b7b36617b36c97c4b5d6832cf5e24",
              "status": "affected",
              "version": "2209fda323e2fd2a2d0885595fd5097717f8d2aa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "lib/lz4/lz4_decompress.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.20",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.189",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.111",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.34",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.20",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.3",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlz4: fix LZ4_decompress_safe_partial read out of bound\n\nWhen partialDecoding, it is EOF if we\u0027ve either filled the output buffer\nor can\u0027t proceed with reading an offset for following match.\n\nIn some extreme corner cases when compressed data is suitably corrupted,\nUAF will occur.  As reported by KASAN [1], LZ4_decompress_safe_partial\nmay lead to read out of bound problem during decoding.  lz4 upstream has\nfixed it [2] and this issue has been disscussed here [3] before.\n\ncurrent decompression routine was ported from lz4 v1.8.3, bumping\nlib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we\u0027d\nbetter fix it first.\n\n[1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/\n[2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad#\n[3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is only reachable via LZ4_decompress_safe_partial, whose sole in-tree caller is EROFS decompression on a locally mounted image (syzbot repro: mount erofs loop image then open/read a compressed file); it is not reachable from network packet processing.\nAC:L - An attacker who controls EROFS compressed contents can craft suitably corrupted LZ4 streams that deterministically hit the missing ip\u003e=(iend-2) EOF check during partial decoding, as demonstrated by reliable syzkaller reproducers.\nPR:L - Once a malicious or legacy EROFS image is mounted, an unprivileged local user can trigger the vulnerable decompress path simply by reading a compressed file; mounting is treated as an environmental precondition and EROFS is widely deployed (e.g. Android).\nUI:N - No additional victim interaction is required beyond the attacker-controlled image being present and read; the open/read that drives z_erofs_decompressqueue_work needs no further user action.\nS:U - Impact is confined to the host kernel\u2019s memory authority (OOB/UAF during in-kernel decompression); there is no VM/IOMMU/sandbox boundary crossing.\nC:H - The defect is an out-of-bounds/use-after-free read (KASAN: UAF Read in LZ4_readLE16 past the compressed input into a freed page), which can disclose adjacent or reused memory contents.\nI:H - Classified and observed as a use-after-free memory-corruption bug in the LZ4 partial decoder; per scoring guidance UAFs are treated as enabling strong integrity impact (heap spray / controlled subsequent decode state), so I:H is appropriate.\nA:H - OOB reads past vm_map_ram or into invalid/freed pages can cause kernel oops/GPF (also seen as general protection fault in LZ4_decompress_safe_partial on syzbot), yielding high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:53:46.564Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/6adc01a7aa37445dafe8846faa0610a86029b253"
        },
        {
          "url": "https://git.kernel.org/stable/c/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927"
        },
        {
          "url": "https://git.kernel.org/stable/c/e64dbe97c05c769525cbca099ddbd22485630235"
        },
        {
          "url": "https://git.kernel.org/stable/c/467d5e200ab4486b744fe1776154a43d1aa22d4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/eafc0a02391b7b36617b36c97c4b5d6832cf5e24"
        }
      ],
      "title": "lz4: fix LZ4_decompress_safe_partial read out of bound",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49078",
    "datePublished": "2025-02-26T01:54:40.207Z",
    "dateReserved": "2025-02-26T01:49:39.247Z",
    "dateUpdated": "2026-08-05T08:53:46.564Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49078",
      "date": "2026-09-14",
      "epss": "0.00283",
      "percentile": "0.20698"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49078\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:00:45.153\",\"lastModified\":\"2026-06-17T05:17:01.160\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nlz4: fix LZ4_decompress_safe_partial read out of bound\\n\\nWhen partialDecoding, it is EOF if we\u0027ve either filled the output buffer\\nor can\u0027t proceed with reading an offset for following match.\\n\\nIn some extreme corner cases when compressed data is suitably corrupted,\\nUAF will occur.  As reported by KASAN [1], LZ4_decompress_safe_partial\\nmay lead to read out of bound problem during decoding.  lz4 upstream has\\nfixed it [2] and this issue has been disscussed here [3] before.\\n\\ncurrent decompression routine was ported from lz4 v1.8.3, bumping\\nlib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we\u0027d\\nbetter fix it first.\\n\\n[1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/\\n[2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad#\\n[3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: lz4: arreglar LZ4_decompress_safe_partial lectura fuera de l\u00edmite Cuando se realiza una descodificaci\u00f3n parcial, es EOF si hemos llenado el b\u00fafer de salida o no podemos continuar con la lectura de un desplazamiento para la siguiente coincidencia. En algunos casos extremos, cuando los datos comprimidos est\u00e1n adecuadamente da\u00f1ados, se producir\u00e1 UAF. Como inform\u00f3 KASAN [1], LZ4_decompress_safe_partial puede provocar un problema de lectura fuera de l\u00edmite durante la descodificaci\u00f3n. lz4 upstream lo ha solucionado [2] y este problema se ha discutido aqu\u00ed [3] anteriormente. La rutina de descompresi\u00f3n actual se traslad\u00f3 de lz4 v1.8.3, actualizar lib/lz4 a v1.9.+ es sin duda un gran trabajo por hacer m\u00e1s adelante, as\u00ed que ser\u00e1 mejor que lo solucionemos primero. [1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/ [2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad# [3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"lib/lz4/lz4_decompress.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"6adc01a7aa37445dafe8846faa0610a86029b253\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"e64dbe97c05c769525cbca099ddbd22485630235\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"467d5e200ab4486b744fe1776154a43d1aa22d4b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2209fda323e2fd2a2d0885595fd5097717f8d2aa\",\"lessThan\":\"eafc0a02391b7b36617b36c97c4b5d6832cf5e24\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"lib/lz4/lz4_decompress.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.20\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.20\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.189\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.111\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.34\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.16.20\",\"lessThanOrEqual\":\"5.16.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17.3\",\"lessThanOrEqual\":\"5.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-02-27T17:59:16.973304Z\",\"id\":\"CVE-2022-49078\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.189\",\"matchCriteriaId\":\"8CB6E8F5-C2B1-46F3-A807-0F6104AC340F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.111\",\"matchCriteriaId\":\"96258501-7BCE-4C55-8A38-8AC9D327626D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.34\",\"matchCriteriaId\":\"D25878D3-7761-4E9F-8919-E92CD53896E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.16.20\",\"matchCriteriaId\":\"ABBBA66E-0244-4621-966B-9790AF1EEB00\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.17\",\"versionEndExcluding\":\"5.17.3\",\"matchCriteriaId\":\"AE420AC7-1E59-4398-B84F-71F4B4337762\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/467d5e200ab4486b744fe1776154a43d1aa22d4b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6adc01a7aa37445dafe8846faa0610a86029b253\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e64dbe97c05c769525cbca099ddbd22485630235\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/eafc0a02391b7b36617b36c97c4b5d6832cf5e24\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T20:56:59+00:00",
      "cve": "CVE-2022-49078",
      "id": "CVE-2022-49078",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "70",
      "product_status:known_not_affected": "126",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: lz4: fix LZ4_decompress_safe_partial read out of bound",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49078.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T01:34:19Z",
      "cve": "CVE-2022-49078",
      "id": "CVE-2022-49078",
      "initial_release_date": "2025-02-27T03:12:37Z",
      "product_status:known_affected": "360",
      "product_status:known_not_affected": "343",
      "product_status:recommended": "293",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49078",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49078.json",
      "version": "49"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49078\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-27T17:59:16.973304Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-27T17:59:18.272Z\"}}], \"cna\": {\"title\": \"lz4: fix LZ4_decompress_safe_partial read out of bound\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is only reachable via LZ4_decompress_safe_partial, whose sole in-tree caller is EROFS decompression on a locally mounted image (syzbot repro: mount erofs loop image then open/read a compressed file); it is not reachable from network packet processing.\\nAC:L - An attacker who controls EROFS compressed contents can craft suitably corrupted LZ4 streams that deterministically hit the missing ip\u003e=(iend-2) EOF check during partial decoding, as demonstrated by reliable syzkaller reproducers.\\nPR:L - Once a malicious or legacy EROFS image is mounted, an unprivileged local user can trigger the vulnerable decompress path simply by reading a compressed file; mounting is treated as an environmental precondition and EROFS is widely deployed (e.g. Android).\\nUI:N - No additional victim interaction is required beyond the attacker-controlled image being present and read; the open/read that drives z_erofs_decompressqueue_work needs no further user action.\\nS:U - Impact is confined to the host kernel\\u2019s memory authority (OOB/UAF during in-kernel decompression); there is no VM/IOMMU/sandbox boundary crossing.\\nC:H - The defect is an out-of-bounds/use-after-free read (KASAN: UAF Read in LZ4_readLE16 past the compressed input into a freed page), which can disclose adjacent or reused memory contents.\\nI:H - Classified and observed as a use-after-free memory-corruption bug in the LZ4 partial decoder; per scoring guidance UAFs are treated as enabling strong integrity impact (heap spray / controlled subsequent decode state), so I:H is appropriate.\\nA:H - OOB reads past vm_map_ram or into invalid/freed pages can cause kernel oops/GPF (also seen as general protection fault in LZ4_decompress_safe_partial on syzbot), yielding high availability impact.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"6adc01a7aa37445dafe8846faa0610a86029b253\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"e64dbe97c05c769525cbca099ddbd22485630235\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"467d5e200ab4486b744fe1776154a43d1aa22d4b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"2209fda323e2fd2a2d0885595fd5097717f8d2aa\", \"lessThan\": \"eafc0a02391b7b36617b36c97c4b5d6832cf5e24\", \"versionType\": \"git\"}], \"programFiles\": [\"lib/lz4/lz4_decompress.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.20\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.20\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.189\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.111\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.34\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16.20\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.16.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"lib/lz4/lz4_decompress.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3\"}, {\"url\": \"https://git.kernel.org/stable/c/6adc01a7aa37445dafe8846faa0610a86029b253\"}, {\"url\": \"https://git.kernel.org/stable/c/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927\"}, {\"url\": \"https://git.kernel.org/stable/c/e64dbe97c05c769525cbca099ddbd22485630235\"}, {\"url\": \"https://git.kernel.org/stable/c/467d5e200ab4486b744fe1776154a43d1aa22d4b\"}, {\"url\": \"https://git.kernel.org/stable/c/eafc0a02391b7b36617b36c97c4b5d6832cf5e24\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nlz4: fix LZ4_decompress_safe_partial read out of bound\\n\\nWhen partialDecoding, it is EOF if we\u0027ve either filled the output buffer\\nor can\u0027t proceed with reading an offset for following match.\\n\\nIn some extreme corner cases when compressed data is suitably corrupted,\\nUAF will occur.  As reported by KASAN [1], LZ4_decompress_safe_partial\\nmay lead to read out of bound problem during decoding.  lz4 upstream has\\nfixed it [2] and this issue has been disscussed here [3] before.\\n\\ncurrent decompression routine was ported from lz4 v1.8.3, bumping\\nlib/lz4 to v1.9.+ is certainly a huge work to be done later, so, we\u0027d\\nbetter fix it first.\\n\\n[1] https://lore.kernel.org/all/000000000000830d1205cf7f0477@google.com/\\n[2] https://github.com/lz4/lz4/commit/c5d6f8a8be3927c0bec91bcc58667a6cfad244ad#\\n[3] https://lore.kernel.org/all/CC666AE8-4CA4-4951-B6FB-A2EFDE3AC03B@fb.com/\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.189\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.111\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.34\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16.20\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.3\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18\", \"versionStartIncluding\": \"4.20\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:53:46.564Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49078\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:53:46.564Z\", \"dateReserved\": \"2025-02-26T01:49:39.247Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T01:54:40.207Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…