{"id":"CVE-2025-12474","aliases":["ALPINE-CVE-2025-12474","DEBIAN-CVE-2025-12474","EUVD-2025-207023","GHSA-9gvg-fw8p-72fv","MGASA-2026-0548","SUSE-SU-2026:0648-1","SUSE-SU-2026:20903-1","UBUNTU-CVE-2025-12474","openSUSE-SU-2026:10910-1","openSUSE-SU-2026:20385-1"],"status":"published","title":"libjxl: Uninitialized memory read in decoder due to incorrect optimization in patch handling","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","severity":{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00111,"percentile":0.01341,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-908"],"published":"2026-02-11T15:27:24Z","modified":"2026-11-03T06:32:13Z","fixes":[{"ecosystem":"Alpine:v3.23","package":"libjxl","fixed_in":["0.11.2-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jpeg-xl","fixed_in":["0.11.2-0.1~deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jpeg-xl","fixed_in":["0.11.2-0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.23","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.7.0"},{"fixed":"0.11.2-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"jpeg-xl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.3-1","0.10.3-2","0.10.3-3","0.10.3-4","0.10.3-5","0.10.4-1","0.10.4-2","0.11.1-1","0.11.1-2","0.11.1-3","0.11.1-4","0.11.1-5","0.11.1-6","0.11.2-0.1","0.11.2-0.1~deb13u1","0.11.2-0.1~deb13u2","0.11.2-1","0.11.2-2","0.11.2-3","0.11.2-3~exp1","0.11.2-4","0.11.2-5","0.11.2-5.1","0.7.0-10","0.7.0-10+deb12u1","0.7.0-10.1","0.7.0-10.2","0.8.0-1","0.8.0~git20221120.4167056-1","0.8.0~git20221123.8bf8deb-1","0.8.0~git20230102.26a5158-1","0.8.0~git20230118.bcacd51-1","0.8.0~git20230125.a67e970-1","0.8.1-1","0.8.1-2","0.8.2-1","0.8.2-2","0.8.2-3","0.8.2-4","0.9.0~git20230612.38b629f-1","0.9.0~git20230612.38b629f-2","0.9.0~git20230612.38b629f-3","0.9.0~git20230612.38b629f-4","0.9.0~git20230623.689da0f-1","0.9.0~git20230623.689da0f-2","0.9.0~git20230623.689da0f-3","0.9.0~git20230623.689da0f-4","0.9.2-1","0.9.2-10","0.9.2-2","0.9.2-3","0.9.2-4","0.9.2-5","0.9.2-6","0.9.2-7","0.9.2-8","0.9.2-9"]},{"source":"osv","ecosystem":"Debian:13","package":"jpeg-xl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-0.1~deb13u1"}]}],"versions":["0.11.1-4","0.11.1-5","0.11.1-6"]},{"source":"osv","ecosystem":"Debian:14","package":"jpeg-xl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-0.1"}]}],"versions":["0.11.1-4","0.11.1-5","0.11.1-6","0.11.2-0.1~deb13u1","0.11.2-0.1~deb13u2"]},{"source":"osv","ecosystem":"Mageia:10","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-1.mga10"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.3-150700.4.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-160000.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-160000.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.16-1.1ubuntu2","1.3.16-1.1ubuntu3","1.3.18-1ubuntu3","1.3.18-1ubuntu3.1","1.3.18-1ubuntu3.1+esm1","1.3.18-1ubuntu3.1+esm2","1.3.18-1ubuntu3.1+esm3","1.3.18-1ubuntu3.1+esm4","1.3.18-1ubuntu3.1+esm5","1.3.18-1ubuntu3.1+esm6","1.3.18-1ubuntu3.1+esm7","1.3.18-1ubuntu3.1+esm8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.1+esm1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3","1.3.23-1ubuntu0.4","1.3.23-1ubuntu0.5","1.3.23-1ubuntu0.6","1.3.23-1ubuntu0.6+esm1","1.3.23-1ubuntu0.6+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.26-15","1.3.26-16","1.3.26-19","1.3.27-1","1.3.27-2","1.3.27-3","1.3.28-1","1.3.28-2","1.3.28-2ubuntu0.1","1.3.28-2ubuntu0.1+esm1","1.3.28-2ubuntu0.2","1.3.28-2ubuntu0.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.33+hg16115-1","1.4+really1.3.33+hg16115-1build1","1.4+really1.3.33+hg16117-1","1.4+really1.3.34-1","1.4+really1.3.34-2","1.4+really1.3.34+hg16181-1","1.4+really1.3.35-1","1.4+really1.3.35-1ubuntu0.1~esm1","1.4+really1.3.35-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.36+hg16481-2","1.4+really1.3.37-1","1.4+really1.3.37-1build1","1.4+really1.3.37+hg16662-1ubuntu1","1.4+really1.3.38-1","1.4+really1.3.38-1ubuntu0.1","1.4+really1.3.38-1ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.42-1","1.4+really1.3.42-1build1","1.4+really1.3.42-1.1build1","1.4+really1.3.42-1.1build2","1.4+really1.3.42-1.1build3","1.4+really1.3.42-1.1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.45+hg17689-1","1.4+really1.3.45+hg17696-1","1.4+really1.3.45+hg17696-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.46-2","1.4+really1.3.48-1","1.4+really1.3.48-1build1","1.4+really1.3.48-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+really1.3.45+hg17696-1build1","1.4+really1.3.46-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-2.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"libjxl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-160000.1.1"}]}],"bundled":2}],"products":[{"vendor":"google","product":"libjxl"},{"vendor":"libjxl_project","product":"libjxl"}],"references":[{"url":"https://github.com/libjxl/libjxl/pull/4495","tags":["Issue Tracking","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12474","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9gvg-fw8p-72fv"},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-12474","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12474.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-12474","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0548.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35608","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27TWL6UI5V63S5VG5DHCLZLSTE34XF3B/","tags":["web"]},{"url":"https://github.com/libjxl/libjxl/issues/4549","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/05/30/7","tags":["web"]},{"url":"https://github.com/libjxl/libjxl/issues/4337","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/W3QKIP6MG3FEJI72LMV2M5365WSHW4BC/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBNA2RFQ3GKA2CBAINVJWJMVWBQLVXDU/","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-8397-1","tags":["advisory"]},{"url":"https://lists.debian.org/debian-security-announce/2026/msg00253.html","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/MFBGIBYAH7ZJ5A2WUH5SPGV5U7TZRYYU/","tags":["web"]},{"url":"https://github.com/libjxl/libjxl/issues/4803","tags":["report"]},{"url":"https://lists.debian.org/debian-security-announce/2026/msg00478.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20260648-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1258090","tags":["report"]},{"url":"https://bugzilla.suse.com/1258091","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-12474","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-1837","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620903-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-12474","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-12474","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-70103","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-12474","title":"libjxl: Uninitialized memory read in decoder due to incorrect optimization in patch handling","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T15:27:24.118Z","modified":"2026-02-11T21:41:40.223Z","cvss":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low","assessor":"cna"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:32:42.078906Z"}],"euvd":[{"id":"EUVD-2025-207023","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T15:27:24Z","modified":"2026-02-11T21:41:40Z","cvss":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"updated_at":"2026-11-02T19:48:40.418792Z"}],"ghsa":[{"id":"GHSA-9gvg-fw8p-72fv","title":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but...","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T18:31:28Z","modified":"2026-04-24T18:30:36Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:07:37.660763Z"}],"nvd":[{"id":"CVE-2025-12474","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T16:15:53.647Z","modified":"2026-06-17T08:32:26.76Z","cvss":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:12:00.273026Z"}],"osv":[{"id":"ALPINE-CVE-2025-12474","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T16:15:53.647Z","modified":"2026-11-03T06:32:13.058428814Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"CVE-2025-12474","title":"libjxl: Uninitialized memory read in decoder due to incorrect optimization in patch handling","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.\n\nThis can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T15:27:24.118Z","modified":"2026-10-28T02:30:23.198568433Z","cvss":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:44:46.024537Z"},{"id":"DEBIAN-CVE-2025-12474","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory.  This can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T16:15:53.647Z","modified":"2026-09-01T20:05:40.760831709Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:45.102284Z"},{"id":"UBUNTU-CVE-2025-12474","description":"A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory. This can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.","status":"published","published":"2026-02-11T16:15:00Z","modified":"2026-10-17T12:57:00.468611145Z","cvss":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","level":"low"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:20.144818Z"},{"id":"MGASA-2026-0548","title":"Updated libjxl package fixes security vulnerabilities","description":"Uninitialized memory read in decoder due to incorrect optimization in\npatch handling. (CVE-2025-12474)\nHeap buffer overflow vulnerability in libjxl 0.12.0 via crafted PBM\nimages to the jxl::extras::DecodeImagePNM function in file\nlib/extras/dec/pnm.cc. (CVE-2025-70103)\nOut-of-bounds write in grayscale color transformation when using LCMS2.\n(CVE-2026-1837)\nBuffer Overflow vulnerability in libjxl v.0.11.2 and before allows a\nlocal attacker to obtain sensitive information via the DecodeImageAPNG\nfunction. (CVE-2026-52584)\n","status":"published","published":"2026-10-26T15:28:20Z","modified":"2026-10-26T15:30:03.184451351Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"openSUSE-SU-2026:10910-1","title":"libjxl-devel-0.11.2-2.1 on GA media","description":"These are all security issues fixed in the libjxl-devel-0.11.2-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-05-30T00:00:00Z","modified":"2026-05-31T14:15:05.046621389Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"openSUSE-SU-2026:20385-1","title":"Security update for libjxl","description":"This update for libjxl fixes the following issues:\n\nUpdate to libjxl 0.11.2:\n\n- CVE-2025-12474: a specially crafted file can cause the decoder to read pixel data from uninitialized allocated memory\n  (bsc#1258090).\n- CVE-2026-1837: a specially crafted file can cause the decoder to write pixel data to uninitialized unallocated memory\n  (bsc#1258091).\n","status":"published","published":"2026-03-18T10:13:37Z","modified":"2026-03-26T17:23:49.037918Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"SUSE-SU-2026:0648-1","title":"Security update for libjxl","description":"This update for libjxl fixes the following issues:\n\n- CVE-2025-12474: a specially crafted file can cause the decoder to read pixel data from uninitialized allocated memory\n  (bsc#1258090).\n- CVE-2026-1837: a specially crafted file can cause the decoder to write pixel data to uninitialized unallocated memory\n  (bsc#1258091).\n","status":"published","published":"2026-02-25T16:30:57Z","modified":"2026-02-26T16:17:05.769128Z","updated_at":"2026-11-02T15:54:00.846737Z"},{"id":"SUSE-SU-2026:20903-1","title":"Security update for libjxl","description":"This update for libjxl fixes the following issues:\n\nUpdate to libjxl 0.11.2:\n\n- CVE-2025-12474: a specially crafted file can cause the decoder to read pixel data from uninitialized allocated memory\n  (bsc#1258090).\n- CVE-2026-1837: a specially crafted file can cause the decoder to write pixel data to uninitialized unallocated memory\n  (bsc#1258091).\n","status":"published","published":"2026-03-18T10:12:38Z","modified":"2026-04-02T17:31:34.208152Z","updated_at":"2026-11-02T15:54:01.953589Z"}]}}
