CVE-2025-71319
image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a spe…
Auswirkung
image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted image buffer with a zero-valued size field in a recognized box-type. Attackers can trigger an infinite loop in the JXL or HEIF image parsers by providing a crafted image containing a box with a size of zero, causing the offset to never advance and permanently hanging the application.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | image-size | >= 1.1.0, < 1.2.1 | 1.2.1 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Image-size | Image-size | ab 1.1.0 bis einschließlich 1.2.1 ab 2.0.0 bis einschließlich 2.0.2 Versionen 2.0.0 ≤2.0.2, 1.1.0 ≤1.2.1 |
| Red Hat | Discovery | Version 2.0 |
| Red Hat | Enterprise Linux | Version 8.0 |
| Red Hat | Gatekeeper | Version 3.0 |
| Red Hat | Trusted Artifact Signer | ab 1.4 vor 1.4.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities
- https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser
- https://access.redhat.com/errata/RHSA-2026:33313
- https://access.redhat.com/errata/RHSA-2026:37272
- https://access.redhat.com/security/cve/CVE-2025-71319
- https://bugzilla.redhat.com/show_bug.cgi?id=2487296
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json
- https://github.com/advisories/GHSA-m5qc-5hw7-8vg7
- https://github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7
- https://github.com/image-size/image-size/commit/8994131c7c3ee8da1699e04700c95e0e683a0c68
- https://nvd.nist.gov/vuln/detail/CVE-2025-71319