<?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-10-02T10:35:32.604873+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-31786</id>
    <title>CVE-2026-31786 — Buffer overflow in drivers/xen/sys-hypervisor.c</title>
    <updated>2026-10-02T10:35:32.606981+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>Buffer overflow in drivers/xen/sys-hypervisor.c</p>
<p>The build id returned by HYPERVISOR_xen_version(XENVER_build_id) is
neither NUL terminated nor a string.</p>
<p>The first causes a buffer overflow as sprintf in buildid_show will
read and copy till it finds a NUL.</p>
<p>00000000  f4 91 51 f4 dd 38 9e 9d  65 47 52 eb 10 71 db 50  |..Q..8..eGR..q.P|
00000010  b9 a8 01 42 6f 2e 32                              |...Bo.2|
00000017</p>
<p>So use a memcpy instead of sprintf to have the correct value:</p>
<p>00000000  f4 91 51 f4 dd 00 9e 9d  65 47 52 eb 10 71 db 50  |..Q.....eGR..q.P|
00000010  b9 a8 01 42                                       |...B|
00000014</p>
<p>(the above have a hack to embed a zero inside and check it's
returned correctly).</p>
<p>This is XSA-485 / CVE-2026-31786</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-31786"/>
  </entry>
</feed>
