


Perceptive Security
SOC/SIEM Consultancy

DiceBear is an avatar library for designers and developers. Prior to version 9.4.0, the `ensureSize()` function in `@dicebear/converter` read the `width` and `h…
Published:
17 maart 2026 om 23:00:00
Alert date:
18 maart 2026 om 17:03:14
Source:
nvd.nist.gov
Supply Chain & Dependencies, Web Technologies
CVE-2026-29112 affects DiceBear avatar library versions prior to 9.4.0. The vulnerability exists in the ensureSize() function of @dicebear/converter which reads SVG width and height attributes to determine canvas size for rasterization. Attackers can supply crafted SVGs with extremely large dimensions to force excessive memory allocation, leading to denial of service. The issue primarily affects server-side applications processing untrusted SVG input through converter functions like toPng(), toJpeg(), toWebp(), or toAvif(). Version 9.4.0 fixes the issue by implementing a size option with default 512 and maximum 2048 dimensions instead of reading SVG attributes.
Technical details
Mitigation steps:
Affected products:
DiceBear
@dicebear/converter
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-29112
https://github.com/dicebear/dicebear/commit/42a59eac46a3c68598859e608ec45e578b27614a
https://github.com/dicebear/dicebear/releases/tag/v9.4.0
https://github.com/dicebear/dicebear/security/advisories/GHSA-v3r3-4qgc-vw66
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
