Your message dated Sat, 07 Nov 2026 17:19:11 +0000
with message-id <[email protected]>
and subject line Bug#1152937: fixed in qtbase-opensource-src 5.15.19+dfsg-7
has caused the Debian Bug report #1152937,
regarding qtbase-opensource-src: CVE-2026-105924: NULL dereference converting a 
decoded empty CBOR URL to JSON; patch attached
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1152937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152937
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: qtbase-opensource-src
Version: 5.15.19+dfsg-6
Severity: important
Tags: security upstream patch
X-Debbugs-Cc: [email protected]

Hi,

The security tracker lists CVE-2026-105924 as unfixed for
qtbase-opensource-src, but only qt6-base has a bug (#1152892), so here
is one for Qt 5.

Qt's advisory says Qt 5.12.0 and later are affected:
https://www.google.com/url?q=https://wiki.qt.io/List_of_known_vulnerabilities_in_Qt_products%23CVE-2026-105924&source=gmail&ust=1793798868725000&sa=E

Upstream fixed it in Qt 6 only:
https://www.google.com/url?q=https://github.com/qt/qtbase/commit/08c5ae85586ef9ef6b3f80f98f367de48c6db3d0&source=gmail&ust=1793798868725000&sa=E
(dev 9e9988ee57c0, in v6.11.3). In convertExtendedTypeToJson()
(src/corelib/serialization/qjsoncbor.cpp), a CBOR URL tag (32) around an
empty text string has no ByteData after QCborValue::fromCbor(), so
d->byteData(1) returns nullptr and is dereferenced. Qt 5.15 has the same
line, but the upstream hunk does not apply (no QT_BOOTSTRAPPED block,
different context).

Confirmed with Debian's libqt5core5t64 5.15.19+dfsg-5 (amd64), using
the same input as the test row the upstream fix adds,
add(QCborValue(QUrl()), QUrl(), QString()):

QCborValue direct{QUrl()}; // encodes as d8 20 60
QCborValue decoded = QCborValue::fromCbor(direct.toCbor());
direct.toJsonValue(); // ok
decoded.toJsonValue(); // SIGSEGV (exit status 139)

The attached patch is a Qt 5 version of the upstream change. It makes
the same guard: if the string has no ByteData, return an empty string.
- applies cleanly with patch --dry-run to 5.15.19+dfsg-6 (sid),
5.15.15+dfsg-6+deb13u1 (trixie) and 5.15.8+dfsg-11+deb12u3
(bookworm); the generated patch is identical for all three
- the patched qjsoncbor.cpp compiles (g++ -std=c++17 -fsyntax-only
against the qtbase5-private-dev 5.15.19 headers), as does the
unpatched one
I have not built the whole package or run the Qt test suite, so the fix
is not runtime-tested here.

Regards
--- a/src/corelib/serialization/qjsoncbor.cpp
+++ b/src/corelib/serialization/qjsoncbor.cpp
@@ -206,8 +206,13 @@
     switch (tag) {
     case qint64(QCborKnownTags::Url):
         // use the fullly-encoded URL form
-        if (d->elements.at(1).type == QCborValue::String)
-            return QUrl::fromEncoded(d->byteData(1)->asByteArrayView()).toString(QUrl::FullyEncoded);
+        if (d->elements.at(1).type == QCborValue::String) {
+            // an empty string has no ByteData (CVE-2026-105924)
+            const ByteData *bd = d->byteData(1);
+            if (!bd)
+                return QString();
+            return QUrl::fromEncoded(bd->asByteArrayView()).toString(QUrl::FullyEncoded);
+        }
         Q_FALLTHROUGH();
 
     case qint64(QCborKnownTags::DateTimeString):

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.15.19+dfsg-7
Done: Dmitry Shachnev <[email protected]>

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <[email protected]> (supplier of updated qtbase-opensource-src 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 07 Nov 2026 19:53:34 +0300
Source: qtbase-opensource-src
Architecture: source
Version: 5.15.19+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Closes: 1151189 1152313 1152937
Changes:
 qtbase-opensource-src (5.15.19+dfsg-7) unstable; urgency=medium
 .
   * Backport upstream patch to prevent out-of-bounds read in QJsonDocument
     fromBinaryData (CVE-2026-101201, closes: #1152313).
   * Backport upstream patch to fix crash converting an empty URL CBOR tag
     to JSON (CVE-2026-105924, closes: #1152937).
   * Backport upstream patch to fix crash when fontconfig fallback pattern
     has no charset (closes: #1151189).
Checksums-Sha1:
 3d2f98d5c23d0fa60f5b6a09fe8ff6b5d17438d3 5470 
qtbase-opensource-src_5.15.19+dfsg-7.dsc
 8c703ee587cf63c938ecfea6c655bf50afc85a23 240064 
qtbase-opensource-src_5.15.19+dfsg-7.debian.tar.xz
 fee64825947bbe4479dbac6a702d1f5048071d63 17995 
qtbase-opensource-src_5.15.19+dfsg-7_source.buildinfo
Checksums-Sha256:
 2172e8d35ead304f624ecbd8cc734e0dc321dc8ecb272837a4e86af2db1873ba 5470 
qtbase-opensource-src_5.15.19+dfsg-7.dsc
 a65ebcca7a40b767b91661619fdbbbb31861e878125d8e3954960d0c4e4f7131 240064 
qtbase-opensource-src_5.15.19+dfsg-7.debian.tar.xz
 9b818e04254cf3724ad5fe93b40122fc0ab576ced1b90423f42ea64c1086f7ff 17995 
qtbase-opensource-src_5.15.19+dfsg-7_source.buildinfo
Files:
 92d6235e24601bc0c314d429567fff99 5470 libs optional 
qtbase-opensource-src_5.15.19+dfsg-7.dsc
 38033e6d04c7ecf996969baa25d97d9e 240064 libs optional 
qtbase-opensource-src_5.15.19+dfsg-7.debian.tar.xz
 86d6b3eb5c7f9daf85ade9595bce567f 17995 libs optional 
qtbase-opensource-src_5.15.19+dfsg-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmrvWKgTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4Db1D/40D6zSZimuXA9A2wJeHdGrkFK+thl8
VRVC/kL9kd+HrH2YzkaA6FRpv4nCI7IpSJmMSd9E/4FmAqs67G/00VyZ+aCY/u3z
kQNjD0x2OgldfUbQdUvcep2y1MLrUiUXIkZXmIjGReCwKpxVZ+wrXavUPESwd90X
HvsnKEivEPk+MJIHGpt6zp/V8PiNHCFt68DZs4DmiOUq29SZobfpA1i50KjLHJH+
S8FaO2BIGmWlJzKcjlXvoNPy7FtPPfcRtgdkQffZ2WOZEOEkRWLZlNOk21PmYCX9
yG0HxVCKjtBaUOKwLaYIcq7xKutWsm7EU9JQtubCmJbaEC+cPlNfbv1b7zTIyLGR
TkgtjUZxuBW3aFljO5YbEIFvFUym2wchhO7ycYM4ucRR19Zl9yTOBK8JIrlG80yO
bL7nDpysaZSJ/mxMrAmmVp6Q8Cpgr4eEP1NIWQbXm5inDVwf/SBcHVJxEfAw0HDb
J3UvcU8OnkjXRsa9N+FYEX4E/E0l+6tvz2CwCDXyGDNUHYbF1YYWvWtWXwHzoVf9
36npCnFNKtt1dC0hGho9wtvO/AEXTo3sLFYCcywTHrn0HwaPiYfPuQUA1WgpQS9Z
GlzwaMjf8dDlr3LBUBHr03/sisfsjHXc91SCoWOG1RUp1ux/A/jOJPc30WyZui6K
6uEy0m77OHEDbA==
=qnQs
-----END PGP SIGNATURE-----

Attachment: pgph55efM642p.pgp
Description: PGP signature


--- End Message ---

Reply via email to