{"id":"CVE-2026-8813","aliases":["CVE-2026-8813","GHSA-h64w-w9pr-82m4"],"related":[],"kind":"vulnerability","state":"published","title":"ExifReader is vulnerable to denial of service via crafted ICC `mluc` tag","summary":"This affects versions of the package exifreader before 4.39.0. A crafted image containing an ICC mluc tag can set an attacker-controlled record count together with a zero record size. During parsing, ExifReader repeatedly processes the same record and appends entries to an array without sufficient bounds validation, causing excessive memory growth. In applications that parse attacker-supplied images, this may lead to denial of service through memory exhaustion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects versions of the package exifreader before 4.39.0. A crafted image containing an ICC mluc tag can set an attacker-controlled record count together with a zero record size. During parsing, ExifReader repeatedly processes the same record and appends entries to an array without sufficient bounds validation, causing excessive memory growth. In applications that parse attacker-supplied images, this may lead to denial of service through memory exhaustion.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen parsing an image with an embedded ICC profile that contains a crafted `multiLocalizedUnicodeType` (`mluc`) tag, ExifReader can be made to allocate memory proportional to attacker-controlled fields in the tag rather than to\nthe actual size of the input. Processing such an image causes excessive memory consumption and can terminate the host process (out-of-memory).\n\nAny application that calls `ExifReader.load()` on untrusted images, for example, user uploads in a web service, is affected. ICC profiles are carried in JPEG, TIFF, PNG, HEIC, AVIF, JPEG XL, and WebP, so the issue is reachable from any of those formats.\n\n### Patches\n\nFixed in `exifreader@4.39.0`. Upgrade with:\n\n    npm install exifreader@latest\n\nBower users consume the bundled `dist/` files from this repository, and the same fix is committed there.\n\n### Workarounds\n\nIf upgrading is not immediately possible, configure a [custom build](https://github.com/mattiasw/ExifReader#configure-a-custom-build) that excludes the `icc` module so that ICC parsing (and therefore this code path) is skipped entirely.\n\n### Resources\n\n- Patch: https://github.com/mattiasw/ExifReader/commit/c9d88b67e127b2dcc7b46e328df468257fb2dc30","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a las versiones del paquete exifreader anteriores a la 4.39.0. Una imagen manipulada que contiene una etiqueta ICC mluc puede establecer un recuento de registros controlado por el atacante junto con un tamaño de registro cero. Durante el análisis, ExifReader procesa repetidamente el mismo registro y añade entradas a un array sin suficiente validación de límites, causando un crecimiento excesivo de la memoria. En aplicaciones que analizan imágenes suministradas por el atacante, esto puede llevar a la denegación de servicio por agotamiento de la memoria.","source":"nvd"}],"published":"2026-05-19T05:00:04.103Z","modified":"2026-08-14T15:25:23.730Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","score":8.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.39.0","status":"affected"}],"product":"exifreader","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.10.0","status":"affected","fixed":"4.39.0"}],"ecosystem":"npm","package":"exifreader","purl":"pkg:npm/exifreader","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXIFREADER-16689335","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/yuki-matsuhashi/3243ea38e5fbf8cfe19b624f04c9f4b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/mattiasw/ExifReader/commit/c9d88b67e127b2dcc7b46e328df468257fb2dc30","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mattiasw/ExifReader/security/advisories/GHSA-h64w-w9pr-82m4","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8813","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mattiasw/ExifReader","tags":["package"],"sources":["ghsa"]}],"credits":["Yuki Matsuhashi"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-19T13:07:11.775Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8813","url":"https://www.cve.org/CVERecord?id=CVE-2026-8813","licence":"CVE Terms of Use","modified":"2026-08-14T15:25:23.730Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h64w-w9pr-82m4","url":"https://github.com/advisories/GHSA-h64w-w9pr-82m4","licence":"CC-BY-4.0","modified":"2026-07-17T17:00:52.076Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8813","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8813","licence":"Public domain","modified":"2026-07-23T20:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.946Z","epss":{"score":0.00522,"percentile":0.45774,"date":"2026-12-01T12:00:22.000Z"}}