🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1152345: thorvg: CVE-2026-58496

#2456
From: Salvatore Bonaccorso
Date: Wed, 28 Oct 2026 11:20
39 lines
4063 bytes
Source: thorvg
Version: 1.0.6+dfsg-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerability was published for thorvg.

CVE-2026-58496[0]:
| Thor Vector Graphics (ThorVG) is a production-ready vector graphics
| engine. Prior to 1.0.7, the `SFNT/TTF` font loader's
| `SfntLoader::gen` function in `tvgSfntLoader.cpp` reads `data[0]
| through data[3]` to identify the font type without first checking
| that the input buffer contains at least four bytes. Loading an
| undersized font directly from memory through public APIs such as
| `tvg::Text::load` causes an out-of-bounds read. Loading through a
| file path using `mmap` can mask the read because of page alignment;
| the memory-loading API directly exposes it. Depending on memory
| layout, a malformed short font may crash the consuming application
| or disclose adjacent heap memory. This issue is fixed in version
| 1.0.7.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-58496
    https://www.cve.org/CVERecord?id=CVE-2026-58496
[1] https://github.com/thorvg/thorvg/security/advisories/GHSA-crfw-c34f-vqrj
[2] https://github.com/thorvg/thorvg/commit/1dc232a33535946b5eed5fd65e993b13226da0ca (v1.0.7)

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
Technical Details
Message-ID: <NT9Rf-8pNd-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152345: thorvg: CVE-2026-58496
Date: Wed, 28 Oct 2026 12:20:01 +0100
Message-ID: <NT9Rf-8pNd-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 11:13:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1152345@bugs.debian.org
Original-Sender: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, jmkim@debian.org
X-Debian-Pr-Message: report 1152345
X-Debian-Pr-Package: src:thorvg
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: thorvg
X-Gm-Message-State: AFq9FYLcD4t7R+ao6swCSahTx8DSe+IC07ZWs4LqTaiCoBV4WHokUivm
	FvEni2QDUQFSOxLe506cGFIcvKZVRNv91BRHbSE4Wv3NwE82tAkgqAr90EyZfTlU
X-Gm-Gg: AYBFou24DUbPZ09AGH5slPaKOKHisRHA3ByjVvQieLG1ocKaC7YaLyXQjGDheqSJdge
	GzsOebVYgSFrELICdnUx8Af1QoDyMMD80+Jo68bCd38E+GxQXd5Qy+MlL8ZtG8xbPbUgwE77oZq
	50YEF7BeuHCtdiGs+OSR966Pew5KRoagESZdahmQeYXpL5gfJ8c9Bpz2f5NqrMtyPr2T/Dhuqfy
	jfyF8hBP9uuPGeVmiS6KhRKfGPSxpRa3MwjOQmSAWMhOdC8WQl7EHBa2Fuj6PSCSvf5KIXc6TvN
	/V7qWRuaahd0B2DnP8ngA+6agSHtSSG+rhtl1vn59yMGtGC9o5tItoVCD+M6PyRDAiiJM2QlAoM
	rPw3luBFc/D0Ev3sLuvfmOJVeUH1ka+ZjDLrrLOPJzCRLllTmVDrT0zdPiEBoPC1sRqw/LbuHCU
	ReQ9uPbC9f9xGT0h5ShYT8Az9D8w0ED0g0iIzMMiCZaOIZFQl/sgSiu0hv3W7TleoOrhvMjG4+H
	bX2U84ddm9xS/s3lcOcg7Kv3SzsjBKjD4KhVn/Tdvq50cyTOhz/qQD/ftgOzFU93PuHJBI7mMrN
	Z2s=
X-Received: by 2002:a2e:bc0d:0:b0:3ac:4da3:864f with SMTP id 38308e7fff4ca-3ac9cf202b6mr5011541fa.4.1793185876429;
        Wed, 28 Oct 2026 04:11:16 -0700 (PDT)
Sender: robomod@news.nic.it
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999342
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
X-Original-Date: Wed, 28 Oct 2026 12:11:14 +0100
X-Original-Message-ID: <auHYUhIHns8TACuj@lorien.valinor.li>
X-Original-Sender: Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>