{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/ubuntu18.04els/vex/2025/cve-2025-39735-els_os-ubuntu18_04els.json"
      }
    ],
    "title": "Security update on CVE-2025-39735",
    "tracking": {
      "current_release_date": "2025-12-23T22:15:38Z",
      "generator": {
        "date": "2025-12-23T22:15:38Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2025-39735-ELS_OS-UBUNTU18.04ELS",
      "initial_release_date": "2025-04-18T07:15:00Z",
      "revision_history": [
        {
          "date": "2025-04-18T07:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-07-21T07:41:56Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-12-23T22:15:38Z",
          "number": "3",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 18.04",
                "product": {
                  "name": "Ubuntu 18.04",
                  "product_id": "Ubuntu-18",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_id": "linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-image-unsigned-4.15.0-249-tuxcare.els37-generic@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_id": "linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-modules-extra-4.15.0-249-tuxcare.els37-generic@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_id": "linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-modules-4.15.0-249-tuxcare.els37-lowlatency@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_id": "linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_id": "linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-headers-4.15.0-249-tuxcare.els37-generic@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_id": "linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-tools-4.15.0-249-tuxcare.els37-lowlatency@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_id": "linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-buildinfo-4.15.0-249-tuxcare.els37-generic@4.15.0-249.260?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-libc-dev-0:4.15.0-249.260.amd64",
                "product": {
                  "name": "linux-libc-dev-0:4.15.0-249.260.amd64",
                  "product_id": "linux-libc-dev-0:4.15.0-249.260.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-libc-dev@4.15.0-249.260?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-tools-host-0:4.15.0-249.260.all",
                "product": {
                  "name": "linux-tools-host-0:4.15.0-249.260.all",
                  "product_id": "linux-tools-host-0:4.15.0-249.260.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-tools-host@4.15.0-249.260?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-doc-0:4.15.0-249.260.all",
                "product": {
                  "name": "linux-doc-0:4.15.0-249.260.all",
                  "product_id": "linux-doc-0:4.15.0-249.260.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/cloudlinux/linux-doc@4.15.0-249.260?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "CloudLinux"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-tools-host-0:4.15.0-249.260.all as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-tools-host-0:4.15.0-249.260.all"
        },
        "product_reference": "linux-tools-host-0:4.15.0-249.260.all",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-doc-0:4.15.0-249.260.all as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-doc-0:4.15.0-249.260.all"
        },
        "product_reference": "linux-doc-0:4.15.0-249.260.all",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-libc-dev-0:4.15.0-249.260.amd64 as a component of Ubuntu 18.04",
          "product_id": "Ubuntu-18:linux-libc-dev-0:4.15.0-249.260.amd64"
        },
        "product_reference": "linux-libc-dev-0:4.15.0-249.260.amd64",
        "relates_to_product_reference": "Ubuntu-18"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-39735",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\njfs: fix slab-out-of-bounds read in ea_get()\n\nDuring the \"size_check\" label in ea_get(), the code checks if the extended\nattribute list (xattr) size matches ea_size. If not, it logs\n\"ea_get: invalid extended attribute\" and calls print_hex_dump().\n\nHere, EALIST_SIZE(ea_buf->xattr) returns 4110417968, which exceeds\nINT_MAX (2,147,483,647). Then ea_size is clamped:\n\n\tint size = clamp_t(int, ea_size, 0, EALIST_SIZE(ea_buf->xattr));\n\nAlthough clamp_t aims to bound ea_size between 0 and 4110417968, the upper\nlimit is treated as an int, causing an overflow above 2^31 - 1. This leads\n\"size\" to wrap around and become negative (-184549328).\n\nThe \"size\" is then passed to print_hex_dump() (called \"len\" in\nprint_hex_dump()), it is passed as type size_t (an unsigned\ntype), this is then stored inside a variable called\n\"int remaining\", which is then assigned to \"int linelen\" which\nis then passed to hex_dump_to_buffer(). In print_hex_dump()\nthe for loop, iterates through 0 to len-1, where len is\n18446744073525002176, calling hex_dump_to_buffer()\non each iteration:\n\n\tfor (i = 0; i < len; i += rowsize) {\n\t\tlinelen = min(remaining, rowsize);\n\t\tremaining -= rowsize;\n\n\t\thex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,\n\t\t\t\t   linebuf, sizeof(linebuf), ascii);\n\n\t\t...\n\t}\n\nThe expected stopping condition (i < len) is effectively broken\nsince len is corrupted and very large. This eventually leads to\nthe \"ptr+i\" being passed to hex_dump_to_buffer() to get closer\nto the end of the actual bounds of \"ptr\", eventually an out of\nbounds access is done in hex_dump_to_buffer() in the following\nfor loop:\n\n\tfor (j = 0; j < len; j++) {\n\t\t\tif (linebuflen < lx + 2)\n\t\t\t\tgoto overflow2;\n\t\t\tch = ptr[j];\n\t\t...\n\t}\n\nTo fix this we should validate \"EALIST_SIZE(ea_buf->xattr)\"\nbefore it is utilised.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-tools-host-0:4.15.0-249.260.all",
          "Ubuntu-18:linux-doc-0:4.15.0-249.260.all",
          "Ubuntu-18:linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
          "Ubuntu-18:linux-libc-dev-0:4.15.0-249.260.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2025-39735"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/0beddc2a3f9b9cf7d8887973041e36c2d0fa3652",
          "url": "https://git.kernel.org/stable/c/0beddc2a3f9b9cf7d8887973041e36c2d0fa3652"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/16d3d36436492aa248b2d8045e75585ebcc2f34d",
          "url": "https://git.kernel.org/stable/c/16d3d36436492aa248b2d8045e75585ebcc2f34d"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/3d6fd5b9c6acbc005e53d0211c7381f566babec1",
          "url": "https://git.kernel.org/stable/c/3d6fd5b9c6acbc005e53d0211c7381f566babec1"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/46e2c031aa59ea65128991cbca474bd5c0c2ecdb",
          "url": "https://git.kernel.org/stable/c/46e2c031aa59ea65128991cbca474bd5c0c2ecdb"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/50afcee7011155933d8d5e8832f52eeee018cfd3",
          "url": "https://git.kernel.org/stable/c/50afcee7011155933d8d5e8832f52eeee018cfd3"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/5263822558a8a7c0d0248d5679c2dcf4d5cda61f",
          "url": "https://git.kernel.org/stable/c/5263822558a8a7c0d0248d5679c2dcf4d5cda61f"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/78c9cbde8880ec02d864c166bcb4fe989ce1d95f",
          "url": "https://git.kernel.org/stable/c/78c9cbde8880ec02d864c166bcb4fe989ce1d95f"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/a8c31808925b11393a6601f534bb63bac5366bab",
          "url": "https://git.kernel.org/stable/c/a8c31808925b11393a6601f534bb63bac5366bab"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/fdf480da5837c23b146c4743c18de97202fcab37",
          "url": "https://git.kernel.org/stable/c/fdf480da5837c23b146c4743c18de97202fcab37"
        }
      ],
      "release_date": "2025-04-18T07:15:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-modules-extra-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-modules-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-image-unsigned-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-headers-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-tools-host-0:4.15.0-249.260.all",
            "Ubuntu-18:linux-doc-0:4.15.0-249.260.all",
            "Ubuntu-18:linux-tools-4.15.0-249-tuxcare.els37-lowlatency-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-buildinfo-4.15.0-249-tuxcare.els37-generic-0:4.15.0-249.260.amd64",
            "Ubuntu-18:linux-libc-dev-0:4.15.0-249.260.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "High"
        }
      ]
    }
  ]
}