Skip to content
Heist/ feed
Back to feed
Medium

Out-of-bounds read information disclosure vulnerability

Type: advisorySources: OSV

A heap out-of-bounds memory read flaw was found in the virtual nvme device in QEMU. The QEMU process does not validate an offset provided by the guest before computing a host heap pointer, which is used for copying data back to the guest. Arbitrary heap memory relative to an allocated buffer can be disclosed.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-4135
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:13 UTC · Revision 1

Source evidence

Out-of-bounds read information disclosure vulnerability

core-osv · Original source

Published 4 Aug 2023, 13:19 UTC

A heap out-of-bounds memory read flaw was found in the virtual nvme device in QEMU. The QEMU process does not validate an offset provided by the guest before computing a host heap pointer, which is used for copying data back to the guest. Arbitrary heap memory relative to an allocated buffer can be disclosed.

osv:CVE-2023-4135
Complete source record
{
  "id": "9ebf301625322a3482ad3dba5d2acfc7734c48fef6ff8c4ddb12e6d275f74296",
  "url": "https://osv.dev/vulnerability/CVE-2023-4135",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Out-of-bounds read information disclosure vulnerability",
    "summary": "A heap out-of-bounds memory read flaw was found in the virtual nvme device in QEMU. The QEMU process does not validate an offset provided by the guest before computing a host heap pointer, which is used for copying data back to the guest. Arbitrary heap memory relative to an allocated buffer can be disclosed.",
    "evidence": "osv:CVE-2023-4135",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-4135",
      "aliases": [
        "CVE-2023-4135"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/qemu/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c1eb2ddf0f8075faddc5f7c3d39feae3e8e9d6b4"
                },
                {
                  "fixed": "7e5a8bb22368b3555644cb2debd3df24592f3a21"
                },
                {
                  "introduced": "2c27fdc7a626408ee2cf30d791aa0b63027c7404"
                },
                {
                  "last_affected": "9ba37026fcf6b7f3f096c0cca3e1e7307802486b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc0"
                      },
                      {
                        "last_affected": "8.1.0-rc0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc1"
                      },
                      {
                        "last_affected": "8.1.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc2"
                      },
                      {
                        "last_affected": "8.1.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.1.0-rc0",
            "8.1.0-rc1",
            "8.1.0-rc2",
            "v8.1.0-rc2",
            "v8.1.0-rc1",
            "v8.1.0-rc0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4135.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/qemu-project/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c1eb2ddf0f8075faddc5f7c3d39feae3e8e9d6b4"
                },
                {
                  "fixed": "7e5a8bb22368b3555644cb2debd3df24592f3a21"
                },
                {
                  "introduced": "2c27fdc7a626408ee2cf30d791aa0b63027c7404"
                },
                {
                  "last_affected": "9ba37026fcf6b7f3f096c0cca3e1e7307802486b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc0"
                      },
                      {
                        "last_affected": "8.1.0-rc0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc1"
                      },
                      {
                        "last_affected": "8.1.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.1.0-rc2"
                      },
                      {
                        "last_affected": "8.1.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.1.0-rc0",
            "8.1.0-rc1",
            "8.1.0-rc2",
            "v8.1.0-rc2",
            "v8.1.0-rc1",
            "v8.1.0-rc0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4135.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.439853590Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://packages.fedoraproject.org/",
        "https://access.redhat.com/security/cve/CVE-2023-4135",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4135.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-4135",
        "https://security.netapp.com/advisory/ntap-20230915-0012/",
        "https://www.zerodayinitiative.com/advisories/ZDI-CAN-21521",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2229101"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4135.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-4135",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510175,
  "published_at": "2023-08-04T13:19:15.76+00:00"
}