Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1277859 > unrolled thread
| Started by | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| First post | 2026-01-10 17:10 +0100 |
| Last post | 2026-01-10 20:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1125189: harfbuzz: CVE-2026-22693 Salvatore Bonaccorso <carnil@debian.org> - 2026-01-10 17:10 +0100
Bug#1125189: harfbuzz: CVE-2026-22693 أحمد المحمودي <aelmahmoudy@users.sourceforge.net> - 2026-01-10 20:30 +0100
Bug#1125189: harfbuzz: CVE-2026-22693 Salvatore Bonaccorso <carnil@debian.org> - 2026-01-10 20:50 +0100
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2026-01-10 17:10 +0100 |
| Subject | Bug#1125189: harfbuzz: CVE-2026-22693 |
| Message-ID | <MbJHj-9yce-7@gated-at.bofh.it> |
Source: harfbuzz
Version: 12.3.0-3
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Hi,
The following vulnerability was published for harfbuzz.
CVE-2026-22693[0]:
| HarfBuzz is a text shaping engine. Prior to version 12.3.0, a null
| pointer dereference vulnerability exists in the
| SubtableUnicodesCache::create function located in src/hb-ot-cmap-
| table.hh. The function fails to check if hb_malloc returns NULL
| before using placement new to construct an object at the returned
| pointer address. When hb_malloc fails to allocate memory (which can
| occur in low-memory conditions or when using custom allocators that
| simulate allocation failures), it returns NULL. The code then
| attempts to call the constructor on this null pointer using
| placement new syntax, resulting in undefined behavior and a
| Segmentation Fault. This issue has been patched in version 12.3.0.
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-22693
https://www.cve.org/CVERecord?id=CVE-2026-22693
[1] https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww
[2] https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
[toc] | [next] | [standalone]
| From | أحمد المحمودي <aelmahmoudy@users.sourceforge.net> |
|---|---|
| Date | 2026-01-10 20:30 +0100 |
| Message-ID | <MbMOS-9AdM-5@gated-at.bofh.it> |
| In reply to | #1277859 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, Jan 10, 2026 at 02:08:43PM +0100, Salvatore Bonaccorso wrote: > Source: harfbuzz > Version: 12.3.0-3 > > CVE-2026-22693[0]: > | HarfBuzz is a text shaping engine. Prior to version 12.3.0, a null > | pointer dereference vulnerability exists in the > | SubtableUnicodesCache::create function located in src/hb-ot-cmap- > | table.hh. The function fails to check if hb_malloc returns NULL > | before using placement new to construct an object at the returned > | pointer address. When hb_malloc fails to allocate memory (which can > | occur in low-memory conditions or when using custom allocators that > | simulate allocation failures), it returns NULL. The code then > | attempts to call the constructor on this null pointer using > | placement new syntax, resulting in undefined behavior and a > | Segmentation Fault. This issue has been patched in version 12.3.0. ---end quoted text--- If the CVE has been fixed in 12.3.0, why is the bug filed against 12.3.0-3 ? -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyIDs: 4096R/A7EF5671 2048R/EDDDA1B7 GPG Fingerprints: 6E2E E4BB 72E2 F417 D066 6ABF 7B30 B496 A7EF 5761 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
[toc] | [prev] | [next] | [standalone]
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2026-01-10 20:50 +0100 |
| Message-ID | <MbN8d-9Alq-1@gated-at.bofh.it> |
| In reply to | #1277867 |
Hi, On Sat, Jan 10, 2026 at 08:16:59PM +0100, أحمد المحمودي wrote: > On Sat, Jan 10, 2026 at 02:08:43PM +0100, Salvatore Bonaccorso wrote: > > Source: harfbuzz > > Version: 12.3.0-3 > > > > CVE-2026-22693[0]: > > | HarfBuzz is a text shaping engine. Prior to version 12.3.0, a null > > | pointer dereference vulnerability exists in the > > | SubtableUnicodesCache::create function located in src/hb-ot-cmap- > > | table.hh. The function fails to check if hb_malloc returns NULL > > | before using placement new to construct an object at the returned > > | pointer address. When hb_malloc fails to allocate memory (which can > > | occur in low-memory conditions or when using custom allocators that > > | simulate allocation failures), it returns NULL. The code then > > | attempts to call the constructor on this null pointer using > > | placement new syntax, resulting in undefined behavior and a > > | Segmentation Fault. This issue has been patched in version 12.3.0. > ---end quoted text--- > > If the CVE has been fixed in 12.3.0, why is the bug filed against > 12.3.0-3 ? Because the CVE description looks wrong. Looking at the code the patch is https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae . This change is not in 12.3.0 upstream and not in 12.3.0-3. Regards, Salvatore
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web