CVE-2018-17958: Buffer Overflow

Published Sep 26, 2018
·
Updated

An integer overflow issue was found in the RTL8139 NIC emulation in QEMU. It could occur while receiving packets over the network if the size value is greater than INTMAX. Such overflow would lead to stack buffer overflow issue. A user inside guest could use this flaw to crash the QEMU process, resulting in DoS scenario.

Other sources

Qemu emulator built with the RTL8139 NIC emulation support is vulnerable to an integer overflow, which could lead to buffer overflow issue. It could occur when receiving packets over the network.

A user inside guest could use this flaw to crash the Qemu process resulting in DoS.

Upstream fix: ------------- -> https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03269.html

Reference: ---------- -> https://www.openwall.com/lists/oss-security/2018/10/08/1

Red Hat

Qemu has a Buffer Overflow in rtl8139doreceive in hw/net/rtl8139.c because an incorrect integer data type is used.

Affected Software

14 affected componentsFixes available
redhat/qemu-kvm-rhev<10:2.12.0-33.el7
10:2.12.0-33.el7
Qemu Qemu<=3.0.1
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Debian Debian Linux=8.0
Debian Debian Linux=9.0
redhat Virtualization=4.0
redhat Enterprise Linux=7.0
redhat Virtualization Manager=4.3
All of the following
redhat Virtualization=4.0
redhat Enterprise Linux=7.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u51:7.2+dfsg-7+deb12u181:7.2+dfsg-7+deb12u151:10.0.8+ds-0+deb13u11:10.0.2+ds-2+deb13u11:11.0.0+ds-21:11.0.1+ds-1

Event History

Sep 26, 2018
CVE Published
12:00 AM
Oct 7, 2018
Data Sourced
via Red Hat·07:06 AM
DescriptionSeverityAffected Software
Oct 9, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:56 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·03:57 PM
RemedyDescriptionSeverityAffected Software
Jun 1, 2026
Data Sourced
via Debian·05:09 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-17958?

CVE-2018-17958 is a vulnerability in the RTL8139 NIC emulation in QEMU that could lead to a stack buffer overflow issue.

2

How severe is CVE-2018-17958?

CVE-2018-17958 has a severity rating of 7.5 (high).

3

What software versions are affected by CVE-2018-17958?

QEMU versions up to 3.0.1, QEMU-KVM-RHEV version 10:2.12.0-33.el7, and various versions of Ubuntu, Debian, Canonical Ubuntu Linux, Redhat Virtualization, and Redhat Virtualization Manager are affected by CVE-2018-17958.

4

How do I fix CVE-2018-17958 on Redhat?

To fix CVE-2018-17958 on Redhat, update the qemu-kvm-rhev package to version 10:2.12.0-33.el7 or later.

5

How can I mitigate CVE-2018-17958 on Ubuntu?

To mitigate CVE-2018-17958 on Ubuntu, update the qemu package to version 1:2.12+dfsg-3ubuntu9 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203