<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T08:39:42.852667+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-89879</id>
    <title>CVE-2026-89879 — media: s2255: bound JPEG frame size before copying into the buffer</title>
    <updated>2026-09-29T08:39:42.865650+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>media: s2255: bound JPEG frame size before copying into the buffer</p>
<p>s2255_fillbuff() memcpy()s vc-&gt;jpg_size bytes of a captured JPEG/MJPEG
frame into the vb2 plane.  vc-&gt;jpg_size is taken verbatim from the
S2255_MARKER_FRAME header the device sends (pdword[4] in save_frame())
and, unlike the frame payload length just above it, is never bounded:</p>
<p>payload = le32_to_cpu(pdword[3]);
	if (payload &gt; vc-&gt;req_image_size)	/* payload is checked ... */
		return -EINVAL;
	vc-&gt;pkt_size = payload;
	vc-&gt;jpg_size = le32_to_cpu(pdword[4]);	/* ... jpg_size is not */</p>
<p>A malicious or malfunctioning device can therefore report a jpg_size
larger than the destination vb2 plane, and the memcpy() writes past it.
jpg_size is a signed int, so a value with the top bit set also turns
into a huge length.</p>
<p>Reject a frame whose jpg_size is negative or exceeds the plane size
before copying it.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89879"/>
  </entry>
</feed>
