public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sofia-sip] epel9: Patch for oversized MIME boundary (fedora#2554362)
@ 2026-10-27 20:04
0 siblings, 0 replies; only message in thread
From: @ 2026-10-27 20:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sofia-sip
Branch : epel9
Commit : aa98ccceb625a12f7c92356acdbcaed3628eed55
Author : Tomi Lähteenmäki <lihis@lihis.net>
Date : 2026-10-27T21:53:32+02:00
Stats : +25/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/sofia-sip/c/aa98ccceb625a12f7c92356acdbcaed3628eed55?branch=epel9
Log:
Patch for oversized MIME boundary (fedora#2554362)
Reported as CVE-2026-110658.
---
diff --git a/347.patch b/347.patch
new file mode 100644
index 0000000..716779f
--- /dev/null
+++ b/347.patch
@@ -0,0 +1,23 @@
+From 7f1f3843f17c133c8af4dd09ba512447893dcffc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
+Date: Sat, 24 Oct 2026 12:47:23 +0300
+Subject: [PATCH] Fix out-of-bounds read in msg_mime multipart
+
+CVE-2026-110658
+---
+ libsofia-sip-ua/msg/msg_mime.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libsofia-sip-ua/msg/msg_mime.c b/libsofia-sip-ua/msg/msg_mime.c
+index 430d3f68f..a8bc48660 100644
+--- a/libsofia-sip-ua/msg/msg_mime.c
++++ b/libsofia-sip-ua/msg/msg_mime.c
+@@ -401,7 +401,7 @@ msg_multipart_t *msg_multipart_parse(su_home_t *home,
+ m = strlen(boundary) - 2, blen = m - 1;
+
+ /* Find first delimiter */
+- if (memcmp(boundary + 2, p, m - 2) == 0)
++ if (len >= m - 2 && memcmp(boundary + 2, p, m - 2) == 0)
+ b = p, p = p + m - 2;
+ else if ((p = memmem(p, len, boundary + 1, m - 1))) {
+ if (p != pl->pl_data && p[-1] == '\r')
diff --git a/sofia-sip.spec b/sofia-sip.spec
index e7a2c30..8196da0 100644
--- a/sofia-sip.spec
+++ b/sofia-sip.spec
@@ -6,9 +6,10 @@ Summary: Sofia SIP User-Agent library
License: LGPL-2.1-or-later
URL: http://sofia-sip.sourceforge.net/
Source0: https://github.com/freeswitch/%{name}/archive/refs/tags/v%{version}.tar.gz
-
# https://github.com/freeswitch/sofia-sip/pull/249
Patch0: 0001-Fix-incompatible-pointer-type-in-sip_basic.c.patch
+# https://github.com/freeswitch/sofia-sip/pull/347
+Patch1: 347.patch
BuildRequires: make
BuildRequires: gcc-c++
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 20:04 [rpms/sofia-sip] epel9: Patch for oversized MIME boundary (fedora#2554362)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox