Skip to main content

Qemu: Heap-buffer-overflow in megasas_map_sgl

0
Medium
Published: 07/14/2022 (07/14/2022, 00:00:45 UTC)
Source: GCVE Database
Product: qemu

Description

A heap-buffer-overflow vulnerability was identified in QEMU's megasas_map_sgl function, reported by OSS-Fuzz. The issue involves a read overflow of 4 bytes on the heap, potentially leading to memory corruption. The vulnerability affects many specific QEMU versions from 6.2.0 through 11.1.0-rc2 and later commits. No CVSS score or vendor patch information is provided. The severity is assessed as medium based on the nature of the overflow and lack of known exploits.

Affected software

OSS-Fuzzmore threats →ghsa
qemu
pkg:generic/qemu
Affected versions
>=0e042025b9fe262316f29e4b8ec47f0b85c24e5f=v6.2.0=v6.2.0-rc0=v6.2.0-rc1=v6.2.0-rc3=v6.2.0-rc4=v7.0.0=v7.0.0-rc0=v7.0.0-rc1=v7.0.0-rc2=v7.0.0-rc3=v7.0.0-rc4=v7.1.0=v7.1.0-rc0=v7.1.0-rc1=v7.1.0-rc2=v7.1.0-rc3=v7.1.0-rc4=v7.2.0-rc0=v7.2.0-rc1=v7.2.0-rc2=v7.2.0-rc3=v7.2.0-rc4=v7.2.0=v8.0.0-rc0=v8.0.0-rc1=v8.0.0-rc2=v7.2.1=v8.0.0-rc3=v8.0.0-rc4=v8.0.0=v7.2.2=v7.2.3=v8.0.1=v8.0.2=v7.2.4=v8.0.3=v8.1.0-rc0=v8.1.0-rc1=v8.1.0-rc2=v7.2.5=v8.0.4=v8.1.0-rc3=v8.1.0-rc4=v8.1.0=v7.2.6=v8.0.5=v8.1.1=v8.1.2=v8.2.0-rc0=v7.2.7=v8.1.3=v8.2.0-rc1=v8.2.0-rc2=v8.2.0-rc3=v8.2.0-rc4=v8.2.0=v7.2.8=v8.1.4=v7.2.9=v8.1.5=v8.2.1=v7.2.10=v8.2.2=v9.0.0-rc0=v9.0.0-rc1=v9.0.0-rc2=v9.0.0-rc3=v9.0.0-rc4=v7.2.11=v8.2.3=v9.0.0=v8.2.4=v7.2.12=v8.2.5=v9.0.1=v7.2.13=v8.2.6=v9.0.2=v9.1.0-rc0=v9.1.0-rc1=v9.1.0-rc2=v9.1.0-rc3=v9.1.0-rc4=v9.1.0=v7.2.14=v8.2.7=v9.0.3=v9.1.1=v9.2.0-rc0=v7.2.15=v8.2.8=v9.0.4=v9.1.2=v9.2.0-rc1=v9.2.0-rc2=v9.2.0-rc3=v9.2.0=v7.2.16=v8.2.9=v9.1.3=v9.2.1=v9.2.2=v10.0.0-rc0=v10.0.0-rc1=v7.2.17=v8.2.10=v9.2.3=v10.0.0-rc2=v10.0.0-rc3=v10.0.0-rc4=v10.0.0=v10.0.1=v7.2.18=v9.2.4=v10.0.2=v10.0.3=v10.1.0-rc0=v7.2.19=v10.0.4=v10.1.0=v10.1.0-rc1=v10.1.0-rc2=v10.1.0-rc3=v10.1.0-rc4=v7.2.20=v10.0.5=v10.1.1=v7.2.21=v10.0.6=v10.1.2=v10.2.0-rc1=v10.2.0-rc2=v10.0.7=v10.1.3=v7.2.22=v10.2.0-rc3=v10.2.0-rc4=v10.2.0=v10.0.8=v10.1.4=v10.2.1=v10.0.9=v10.1.5=v10.2.2=v11.0.0-rc0=v11.0.0-rc1=v11.0.0-rc2=v11.0.0-rc3=v11.0.0-rc4=v11.0.0=v10.0.10=v10.2.3=v11.0.1=v10.0.11=v10.2.4=v11.0.2=v10.0.12=v11.0.3=v11.1.0-rc0=v11.1.0-rc1=v11.1.0-rc2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 17:56:29 UTC

Technical Analysis

This vulnerability is a heap-buffer-overflow read of 4 bytes occurring in the megasas_map_sgl function within QEMU, as reported by OSS-Fuzz. The crash stack trace includes megasas_map_sgl, megasas_mmio_write, and megasas_port_write functions. The issue affects a wide range of QEMU versions starting from 6.2.0 and continuing through multiple release candidates and stable releases up to at least 11.1.0-rc2, including a commit identified by hash >=0e042025b9fe262316f29e4b8ec47f0b85c24e5f. No vendor advisory or patch information is provided in the data, and no known exploits in the wild have been reported.

Potential Impact

The heap-buffer-overflow read could lead to memory corruption within QEMU, potentially causing crashes or undefined behavior. The exact impact on confidentiality, integrity, or availability is not detailed. No known active exploitation has been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch or official fix information is provided, users should monitor QEMU vendor channels for updates addressing this heap-buffer-overflow vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
OSV-2022-581
Osv Schema Version
1.3.0
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a6ae5619c2644c7f89b0e4a

Added to database: 07/30/2026, 05:47:13 UTC

Last enriched: 08/12/2026, 17:56:29 UTC

Last updated: 09/07/2026, 17:12:17 UTC

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses