🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6065

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

#6065
From: Simon McVittie
Date: Wed, 25 Nov 2026 11:20
52 lines
4134 bytes
Package: debian-security-support
Severity: normal
X-Debbugs-Cc: sdl-image1.2@packages.debian.org, sdl-mixer1.2@packages.debian.org, sdl-ttf2.0@packages.debian.org, smpeg@packages.debian.org, sdl-sound1.2@packages.debian.org, sdl12-compat@packages.debian.org, Debian Security Team <team@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
Technical Details
Message-ID: <O3jcB-e3D6-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Simon McVittie <smcv@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155231: debian-security-support: Mark SDL 1.2 family as unsuitable for untrusted content
Date: Wed, 25 Nov 2026 12:20:01 +0100
Message-ID: <O3jcB-e3D6-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 25 11:13:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Simon McVittie <smcv@debian.org>, 1155231@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sdl-image1.2@packages.debian.org, sdl-mixer1.2@packages.debian.org, sdl-ttf2.0@packages.debian.org, smpeg@packages.debian.org, sdl-sound1.2@packages.debian.org, sdl12-compat@packages.debian.org, team@security.debian.org, team@security.debian.org
X-Debian-Pr-Message: report 1155231
X-Debian-Pr-Package: debian-security-support
X-Debian-Pr-Source: debian-security-support
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mutt-Fcc: =.lists.debian/
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: smcv
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004875
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 52
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 25 Nov 2026 11:11:08 +0000
X-Original-Message-ID: <awbCTEFp5efz-y-U@definition.pseudorandom.co.uk>