Report a security problem in private, with a new security advisory. Do not use a Discussion, an issue, or a pull request for it. Give the version of ztk-image, the smallest file that shows the problem, and what it lets a person do.
The project answers in the advisory. It gives no dates.
ztk-image is a library. It reads bytes that the caller gives and returns bytes. It opens no file, opens no socket, starts no program, and reads no environment.
- A file that makes a decoder or a parser read or write outside its buffers, crash, or loop with no end.
- A file that makes the library use more memory or more pixels than the limit of the caller.
- Metadata that the library writes to an output when the caller asked to drop it.
- A caller that sets no limit and gives a very large image.
- A fault of a decoder of a platform or of a browser. ztk has those.