From patchwork Mon Nov 30 10:43:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: parth.kansara@einfochips.com X-Patchwork-Id: 106476 Received: from naesa04.arrow.com (naesa04.arrow.com [216.150.161.24]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.29922.1796035612546412253 for ; Mon, 30 Nov 2026 02:46:52 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@einfochips.com header.s=NAESA-Selector1 header.b=Lhp+9ZbP; spf=pass (domain: einfochips.com, ip: 216.150.161.24, mailfrom: parth.kansara@einfochips.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=einfochips.com; i=@einfochips.com; l=3285; q=dns/txt; s=NAESA-Selector1; t=1796035613; x=1827571613; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=+pp39UQAfYXBSKhqXGN6uvovPrN8JkdAlFmAHG1QOgs=; b=Lhp+9ZbPgYHueELJLnFlDjTttuWXkSWdzXNgI04ZxvcoC7Cx/AoU3fjD EBbdc5wDnOnm3/AQ8MJeGdUQnz5PhMqx2fnexwQH4wEO+XT2ma4rayauH 3usdpHiw2ybN3PcvLSxs1+fm+Fv9vZBI0L++0VDMtVE2QwX/ntG9dC7S2 JTu5HrQaNXE+ba9cH7JliRdjMSOIWzTUQP9SF7D8sfdZsmyf7zqe74ioN Gb3tmtfeQxpc3LP+FKh6qWQkflfD8E38V8h4K1jTIYxgzu3wbp2eiVYgi Jq4ngP7spvLcXuig9EQhCf2ZQd7sE9XRTP6sOU3wzwGIV320K4j9yBzOn Q==; X-CSE-ConnectionGUID: BcIpSPNFQUihW5aq0aKNig== X-CSE-MsgGUID: TLnJBJL/RiWVlSTyppsZtg== X-IronPort-AV: E=Sophos;i="6.27,242,1787032800"; d="scan'208";a="129169427" Received: from unknown (HELO 6T8J9X2.ap.corp.arrow.com) ([10.126.18.101]) by naesa04out.arrow.com with ESMTP; 30 Nov 2026 03:46:51 -0700 From: parth.kansara@einfochips.com To: openembedded-devel@lists.openembedded.org Subject: [oe][meta-multimedia][blacksail][PATCH] vlc: Fix for CVE-2017-8312 Date: Mon, 30 Nov 2026 16:13:58 +0530 Message-ID: <20261130104643.3184358-1-parth.kansara@einfochips.com> X-Mailer: git-send-email 2.44.4 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 10:46:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133533 From: Parth Kansara Pick the patch from [2], referenced in the [3]. [1] https://nvd.nist.gov/vuln/detail/cve-2017-8312 [2] https://code.videolan.org/videolan/vlc/-/commit/611398fc8d32f3fe4331f60b220c52ba3557beaa [3] https://security-tracker.debian.org/tracker/CVE-2017-8312 Signed-off-by: Parth Kansara --- .../vlc/vlc/CVE-2017-8312.patch | 43 +++++++++++++++++++ .../recipes-multimedia/vlc/vlc_3.0.24.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc/CVE-2017-8312.patch diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/CVE-2017-8312.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/CVE-2017-8312.patch new file mode 100644 index 0000000000..9c760bebf6 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/vlc/vlc/CVE-2017-8312.patch @@ -0,0 +1,43 @@ +From 4cf58b781f5b3cf2e02bbc32e8fa455224d4de7f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= +Date: Fri, 28 Apr 2017 10:00:11 +0200 +Subject: [PATCH] subtitle: Fix potential heap buffer overflow + +Reported-by: Yannay Livneh + Omri Herscovici + Omer Gull + +CVE: CVE-2017-8312 +Upstream-Status: Backport [https://code.videolan.org/videolan/vlc/-/commit/611398fc8d32f3fe4331f60b220c52ba3557beaa] + +(cherry picked from commit 611398fc8d32f3fe4331f60b220c52ba3557beaa) +Signed-off-by: Parth Kansara +--- + modules/demux/subtitle.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c +index 5d8b6b0763..b201fd8c52 100644 +--- a/modules/demux/subtitle.c ++++ b/modules/demux/subtitle.c +@@ -1884,7 +1884,7 @@ static int ParseJSS( vlc_object_t *p_obj, subs_properties_t *p_props, + case 'S': + shift = isalpha( (unsigned char)psz_text[2] ) ? 6 : 2 ; + if ( shift > line_length ) +- break; ++ continue; + + if( sscanf( &psz_text[shift], "%d", &h ) ) + { +@@ -1923,7 +1923,7 @@ static int ParseJSS( vlc_object_t *p_obj, subs_properties_t *p_props, + case 'T': + shift = isalpha( (unsigned char)psz_text[2] ) ? 8 : 2 ; + if ( shift > line_length ) +- break; ++ continue; + + sscanf( &psz_text[shift], "%d", &p_props->jss.i_time_resolution ); + if( !p_props->jss.i_time_resolution || p_props->jss.i_time_resolution < 0 ) +-- +2.43.0 + diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.24.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.24.bb index 447ab42baa..0fd534f554 100644 --- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.24.bb +++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.24.bb @@ -23,6 +23,7 @@ SRC_URI = "https://get.videolan.org/${BPN}/${PV}/${BP}.tar.xz \ file://0004-Use-packageconfig-to-detect-mmal-support.patch \ file://0005-ioctl-does-not-have-same-signature-between-glibc-and.patch \ file://0006-configure-Disable-incompatible-function-pointer-type.patch \ + file://CVE-2017-8312.patch \ " SRC_URI[sha256sum] = "e7cab503d1d7d5849b89d2cf0e1ee60d0ef6d012407791b644b9cfc0cc225fdf" inherit autotools-brokensep features_check gettext pkgconfig mime-xdg