{"id":"CVE-2026-53496","published":"2026-09-14T16:12:43Z","modified":"2026-09-14T18:52:04Z","title":"ExifReader HEIC/AVIF ISO-BMFF parser throws uncaught RangeError on truncated boxes","vendor":"mattiasw","product":"ExifReader","tier":"tail","description":{"text":"ExifReader is a JavaScript Exif information parser. Prior to 4.40.1, ExifReader.load() and the asynchronous file and URL loaders can pass attacker-supplied HEIC or AVIF data to the ISO-BMFF parser in src/image-header-iso-bmff.js, where findMetaBox() and parseBox() accept an eight-byte box header without confirming that fields required by the parsed box remain in the DataView. A valid ftyp box followed by an empty free or unknown box can cause an unchecked full-box version read, while a truncated extended-size box can make getBoxLength() and hasEmptyHighBits() read absent size fields. The resulting RangeError escapes the main parsing path and can abort an application request or worker when parse errors are not defensively caught, causing denial of service. This issue is fixed in version 4.40.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36417,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/mattiasw/ExifReader/security/advisories/GHSA-g77h-45rf-hcx4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mattiasw/ExifReader/commit/00878ca9df0e26480dda7a931c888048c9f7be45","tags":["x_refsource_MISC"]},{"url":"https://github.com/mattiasw/ExifReader/releases/tag/v4.40.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mattiasw","affectedVersions":[{"vendor":"mattiasw","product":"ExifReader","versions":["< 4.40.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-14T18:51:58.164120Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"exifreader","vulnerableRanges":["<4.40.1"],"patched":["4.40.1"],"from":["GHSA-g77h-45rf-hcx4"],"provenance":"source"}],"summary":{"text":"ExifReader's ISO-BMFF parser, used for HEIC and AVIF image headers in src/image-header-iso-bmff.js, fails to check that the fields a box requires are present before reading them, so truncated or empty boxes can trigger an uncaught RangeError. An attacker who can supply image data to an application using ExifReader can trigger this with a crafted file over the network, without authentication or user interaction, and where parse errors are not caught defensively the exception can abort a request or worker, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:43Z"},"euvd":{"id":"EUVD-2026-77628","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattiasw-exifreader-cve-2026-8814","parents":[{"from":"CVE-2026-8814","to":"CVE-2026-53496","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:exifreader","fromFixed":"4.39.0","toFixed":"4.40.1","daysApart":118},{"kind":"same-code","provenance":"machine","files":["dist/exif-reader.js","dist/exif-reader.js.map"],"commits":["https://github.com/mattiasw/ExifReader/commit/00878ca9df0e26480dda7a931c888048c9f7be45","https://github.com/mattiasw/ExifReader/commit/5f116128adc19f674902f8bf582bfe7dd0a36375"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-53496","to":"CVE-2026-85715","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:exifreader","fromFixed":"4.40.1","toFixed":"4.41.1","daysApart":3},{"kind":"same-code","provenance":"machine","files":["dist/exif-reader.js","dist/exif-reader.js.map"],"commits":["https://github.com/mattiasw/ExifReader/commit/00878ca9df0e26480dda7a931c888048c9f7be45","https://github.com/mattiasw/ExifReader/commit/17b901cd192d2c90d7f9f347bd3073b28b482699"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-8813","published":"2026-05-19","fixed":"4.39.0","kev":false},{"cve":"CVE-2026-8814","published":"2026-05-19","fixed":"4.39.0","kev":false},{"cve":"CVE-2026-53496","published":"2026-09-14","fixed":"4.40.1","kev":false},{"cve":"CVE-2026-85715","published":"2026-09-17","fixed":"4.41.1","kev":false}],"package":"npm:exifreader"}}