Medium
Security advisory
QEMU, through version 2.10 and through version 3.1.0, is vulnerable to an out-of-bounds read of up to 128 bytes in the hw/i2c/i2c-ddc.c:i2c_ddc() function. A local attacker with permission to execute i2c commands could exploit this to read stack memory of the qemu process on the host.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-3812
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:49 UTC · Revision 1
Source evidence
QEMU, through version 2.10 and through version 3.1.0, is vulnerable to an out-of-bounds read of up to 128 bytes in the hw/i2c/i2c-ddc.c:i2c_ddc() function. A local attacker with permission to execute i2c commands could exploit this to read stack memory of the qemu process on the host.
osv:CVE-2019-3812
Complete source record
{
"id": "79f398834cbefe6485187d3c907224602db35b359e6a3069c1c25e0ed619a67a",
"url": "https://osv.dev/vulnerability/CVE-2019-3812",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-3812",
"summary": "QEMU, through version 2.10 and through version 3.1.0, is vulnerable to an out-of-bounds read of up to 128 bytes in the hw/i2c/i2c-ddc.c:i2c_ddc() function. A local attacker with permission to execute i2c commands could exploit this to read stack memory of the qemu process on the host.",
"evidence": "osv:CVE-2019-3812",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-3812",
"aliases": [
"CVE-2019-3812"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qemu/qemu",
"type": "GIT",
"events": [
{
"introduced": "1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec"
},
{
"last_affected": "32a1a94dd324d33578dca1dc96d7896a0244d768"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.10.0"
},
{
"last_affected": "3.1.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.1.0",
"v3.0.0",
"v3.1.0-rc5",
"v3.1.0-rc4",
"v3.1.0-rc3",
"v3.1.0-rc2",
"v3.1.0-rc1",
"v3.1.0-rc0",
"v3.0.0-rc4",
"v3.0.0-rc3",
"v3.0.0-rc2",
"v3.0.0-rc1",
"v3.0.0-rc0",
"v2.12.0",
"v2.12.0-rc4",
"v2.12.0-rc3",
"v2.12.0-rc2",
"v2.12.0-rc1",
"v2.12.0-rc0",
"v2.11.0",
"v2.11.0-rc5",
"v2.11.0-rc4",
"v2.11.0-rc3",
"v2.11.0-rc2",
"v2.11.0-rc1",
"v2.11.0-rc0",
"v2.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3812.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.com/qemu-project/qemu",
"type": "GIT",
"events": [
{
"introduced": "1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec"
},
{
"last_affected": "32a1a94dd324d33578dca1dc96d7896a0244d768"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.10.0"
},
{
"last_affected": "3.1.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.1.0",
"v3.0.0",
"v3.1.0-rc5",
"v3.1.0-rc4",
"v3.1.0-rc3",
"v3.1.0-rc2",
"v3.1.0-rc1",
"v3.1.0-rc0",
"v3.0.0-rc4",
"v3.0.0-rc3",
"v3.0.0-rc2",
"v3.0.0-rc1",
"v3.0.0-rc0",
"v2.12.0",
"v2.12.0-rc4",
"v2.12.0-rc3",
"v2.12.0-rc2",
"v2.12.0-rc1",
"v2.12.0-rc0",
"v2.11.0",
"v2.11.0-rc5",
"v2.11.0-rc4",
"v2.11.0-rc3",
"v2.11.0-rc2",
"v2.11.0-rc1",
"v2.11.0-rc0",
"v2.10.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3812.json"
}
}
],
"modified": "2026-10-24T10:30:22.475017979Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJMTVGDLA654HNCDGLCUEIP36SNJEKK7/",
"https://seclists.org/bugtraq/2019/May/76",
"https://usn.ubuntu.com/3923-1/",
"https://www.debian.org/security/2019/dsa-4454",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3812"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "18.10"
},
{
"last_affected": "18.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "29"
},
{
"last_affected": "29"
},
{
"introduced": "30"
},
{
"last_affected": "30"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "42.3"
},
{
"last_affected": "42.3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-3812",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430696,
"published_at": "2019-02-19T14:29:00.193+00:00"
}