Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions SPECS/harfbuzz/CVE-2026-22693.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 3f8074cf6c2f869fad463981ce3891811585d2d7 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@behdad.org>
Date: Fri, 9 Jan 2026 04:54:42 -0700
Subject: [PATCH] malloc fail test (#5710)

Fixes https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww

Signed-off-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com>
Upstream-reference: https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae.patch
---
src/hb-ot-cmap-table.hh | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh
index e2e2581..2f7d727 100644
--- a/src/hb-ot-cmap-table.hh
+++ b/src/hb-ot-cmap-table.hh
@@ -1534,6 +1534,10 @@ struct SubtableUnicodesCache {
{
SubtableUnicodesCache* cache =
(SubtableUnicodesCache*) hb_malloc (sizeof(SubtableUnicodesCache));
+
+ if (unlikely (!cache))
+ return nullptr;
+
new (cache) SubtableUnicodesCache (source_table);
return cache;
}
--
2.45.4

6 changes: 5 additions & 1 deletion SPECS/harfbuzz/harfbuzz.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Summary: opentype text shaping engine
Name: harfbuzz
Version: 8.3.0
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
Group: System Environment/Libraries
URL: https://harfbuzz.github.io/
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch0: CVE-2024-56732.patch
Patch1: CVE-2026-22693.patch
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(glib-2.0)
Expand Down Expand Up @@ -91,6 +92,9 @@ find . -type f -name "*.py" -exec sed -i'' -e '1 s|^#!\s*/usr/bin/env\s\+python3
%{_libdir}/libharfbuzz-icu.so.*

%changelog
* Mon Jan 12 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 8.3.0-4
- Patch for CVE-2026-22693

* Wed Jan 08 2025 Sudipta Pandit <sudpandit@microsoft.com> - 8.3.0-3
- Patch for CVE-2024-56732

Expand Down
Loading