Bug#1155231: debian-security-support: Mark SDL 1.2 family as unsuitable for untrusted content

Simon McVittie smcv at debian.org
Wed Nov 25 11:11:08 GMT 2026


Package: debian-security-support
Severity: normal
X-Debbugs-Cc: sdl-image1.2 at packages.debian.org, sdl-mixer1.2 at packages.debian.org, sdl-ttf2.0 at packages.debian.org, smpeg at packages.debian.org, sdl-sound1.2 at packages.debian.org, sdl12-compat at packages.debian.org, Debian Security Team <team at security.debian.org>

The SDL 1.2 family of libaries is unmaintained upstream, and we cannot 
expect security vulnerabilities to be fixed.

sdl-image1.2, sdl-mixer1.2, sdl-sound1.2 definitely contain decoders for 
image and audio formats, written in a non-memory-safe language in a 
style that prioritizes performance and minimal dependencies over 
robustness (they are game-related libraries, this comes with the 
territory). We should not pretend that these libraries are suitable for 
use with potentially-attacker-chosen content: I'm confident that they 
contain vulnerabilities. They are OK to use with fully-trusted content, 
like the images and sounds that come with legacy games in Debian.

Ideally I want to remove those libraries from Debian completely rather 
than pretending that we can maintain them 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038081, 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038081, 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038037) but they 
would take a lot of older games with them, so that is not a realistic 
prospect in the near future.

I think sdl-ttf2.0 might contain font parsers? If it does, similar 
reasoning applies to it.

smpeg is an MPEG player library from 2003 and I am 100% confident that 
it is not safe to use on untrusted content. A few legacy games still 
rely on it to play their (presumably trusted) videos.

sdl12-compat *is* still maintained by upstream, but realistically 
anything that uses it, and interacts with untrusted content, is going to 
have vulnerabilities. It might be safer to call sdl12-compat 
out-of-scope for security support, too.

So I would suggest that all of these libraries:

sdl-image1.2
sdl-mixer1.2
sdl-sound1.2
sdl-ttf2.0
sdl12-compat
smpeg

should be marked as only suitable for processing trusted content, and 
unsuitable for parsing untrusted or attacker-controlled content. I don't 
know what the security team's typical wording is for this, but I 
assume there is one?

Thanks,
    smcv



More information about the Pkg-sdl-maintainers mailing list