Security fixes go into the latest release of the current major version (4.x). 3.x gets fixes for serious problems on the
v3 branch while 3.20.x is current. Older versions don't get fixes.
Please report vulnerabilities privately, not in a public issue:
- through a private security advisory on GitHub, or
- by email to github@matmen.dev.
A short description and a file, SVG or script that shows the problem help most. We aim to answer within a week. We will tell you when a fix is released and credit you, unless you prefer not to be named.
ImageScript decodes image files, fonts and SVG documents that often come from untrusted sources. Reports we want:
- code execution, or reading or writing outside the memory a decoder owns;
- a small input that makes a decoder, the SVG renderer or the text renderer run out of memory, hang, or take far longer than
its size and the documented limits (
maxPixels,maxLayerPixels,maxImagePixelsand the work limits that throw aLimitError) allow; - output that depends on data it should not read (for example, an SVG that reads files or fetches URLs: ImageScript does not fetch anything and takes external images only as data you pass in).
Limits that grow with the size of the output (the SVG work budgets) are documented: for untrusted input, lower
maxPixels. A document that stays within the limits but is slow on a large output is not a vulnerability.