CVE-2019-7309
published 2019-02-03CVE-2019-7309: In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs…
PriorityP418medium5.5CVSS 3.0
AVLACLPRLUINSUCNINAH
EPSS
0.61%
45.5th percentile
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | glibc | < glibc 2.28-6 (bookworm) | glibc 2.28-6 (bookworm) |
| gnu | glibc | <= 2.29 | — |
| gnu | glibc | >= 0 < 2.28-6 | 2.28-6 |
| gnu | glibc | >= 0 < 2.28-6 | 2.28-6 |
| gnu | glibc | >= 0 < 2.28-6 | 2.28-6 |
| gnu | glibc | >= 0 < 2.28-6 | 2.28-6 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_glibc_2.28-14_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-2g8x-3m62-h85f: In the GNU C Library (aka glibc or libc6) through 2
ghsa_unreviewed·2022-05-13
CVE-2019-7309 [MEDIUM] GHSA-2g8x-3m62-h85f: In the GNU C Library (aka glibc or libc6) through 2
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
OSV
CVE-2019-7309: In the GNU C Library (aka glibc or libc6) through 2
osv·2019-02-03·CVSS 5.5
CVE-2019-7309 [MEDIUM] CVE-2019-7309: In the GNU C Library (aka glibc or libc6) through 2
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
Microsoft
In the GNU C Library (aka glibc or libc6) through 2.29 the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant
vendor_msrc·2019-02-12·CVSS 5.5
CVE-2019-7309 [MEDIUM] In the GNU C Library (aka glibc or libc6) through 2.29 the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant
In the GNU C Library (aka glibc or libc6) through 2.29 the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified,
Red Hat
glibc: memcmp function incorrectly returns zero
vendor_redhat·2019-02-02·CVSS 5.5
CVE-2019-7309 [MEDIUM] CWE-393 glibc: memcmp function incorrectly returns zero
glibc: memcmp function incorrectly returns zero
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
Statement: This issue only affects x32 arch, which is not supported in Red Hat Enterprise Linux kernels (CONFIG_X86_X32 is not set). Therefore glibc packages shipped with Red Hat Enterprise Linux are not affected.
Package: glibc (Red Hat Enterprise Linux 5) - Not affected
Package: glibc (Red Hat Enterprise Linux 6) - Not affected
Package: glibc (Red Hat Enterprise Linux 7) - Not affected
Package: glibc (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2019-7309: glibc - In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for ...
vendor_debian·2019·CVSS 5.5
CVE-2019-7309 [MEDIUM] CVE-2019-7309: glibc - In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for ...
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for the x32 architecture can incorrectly return zero (indicating that the inputs are equal) because the RDX most significant bit is mishandled.
Scope: local
bookworm: resolved (fixed in 2.28-6)
bullseye: resolved (fixed in 2.28-6)
forky: resolved (fixed in 2.28-6)
sid: resolved (fixed in 2.28-6)
trixie: resolved (fixed in 2.28-6)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-7309 glibc: memcmp function incorrectly returns zero [fedora-all]
bugzilla·2019-03-05·CVSS 5.5
CVE-2019-7309 [MEDIUM] CVE-2019-7309 glibc: memcmp function incorrectly returns zero [fedora-all]
CVE-2019-7309 glibc: memcmp function incorrectly returns zero [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
Bugzilla
CVE-2019-7309 glibc: memcmp function incorrectly returns zero
bugzilla·2019-02-04·CVSS 5.5
CVE-2019-7309 [MEDIUM] CVE-2019-7309 glibc: memcmp function incorrectly returns zero
CVE-2019-7309 glibc: memcmp function incorrectly returns zero
In the GNU C Library (aka glibc or libc6) through 2.29, the memcmp function for
the x32 architecture can incorrectly return zero (indicating that the inputs are
equal) because the RDX most significant bit is mishandled.
References:-
https://sourceware.org/bugzilla/show_bug.cgi?id=24155
https://sourceware.org/ml/libc-alpha/2019-02/msg00041.html
Discussion:
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 1685385]
---
Statement:
This issue only affects x32 arch, which is not supported in Red Hat Enterprise Linux kernels (CONFIG_X86_X32 is not set). Therefore glibc packages shipped with Red Hat Enterprise Linux are not affected.
http://www.securityfocus.com/bid/106835https://security.gentoo.org/glsa/202006-04https://sourceware.org/bugzilla/show_bug.cgi?id=24155https://sourceware.org/ml/libc-alpha/2019-02/msg00041.htmlhttp://www.securityfocus.com/bid/106835https://security.gentoo.org/glsa/202006-04https://sourceware.org/bugzilla/show_bug.cgi?id=24155https://sourceware.org/ml/libc-alpha/2019-02/msg00041.html
2019-02-03
Published