CVE-2002-2439: Integer Overflow

Published Aug 5, 2002
·
Updated

Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.

Other sources

It was reported that C++ new[] operator was previously missing integer overflow / wrap around checks for its arguments. If an application compiled with gcc accepted untrusted input for memory allocation and was missing application-level checks for integer overflows of arguments, provided to the new[] operator, an attacker could use this flaw to cause the memory region, allocated in the end for the new[] operator statement, it to be smaller than truly required, possibly leading to heap-based buffer overflows.

Upstream bug report: [1] http://gcc.gnu.org/bugzilla/showbug.cgi?id=19351

Upstream patches: [2] http://gcc.gnu.org/ml/gcc-patches/2012-06/msg01689.html [3] http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01416.html

References: [4] http://gcc.gnu.org/bugzilla/showbug.cgi?id=35790 [5] http://cert.uni-stuttgart.de/ticker/advisories/calloc.html

Affected Software

5 affected componentsFixes available
redhat/gcc<4.8.0
4.8.0
debian/gcc-4.1
debian/gcc-4.3
debian/gcc-4.6
GNU gcc<4.8.0

Event History

Aug 5, 2002
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
Oct 23, 2019
CVE Published
via MITRE·09:47 PM
Data Sourced
via MITRE·09:47 PM
DescriptionWeakness
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-2002-2439?

CVE-2002-2439 is an integer overflow vulnerability in the new[] operator in gcc before version 4.8.0.

2

How does CVE-2002-2439 affect the software?

The vulnerability allows attackers to have unspecified impacts on the affected software.

3

What is the severity of CVE-2002-2439?

The severity of CVE-2002-2439 is high with a severity value of 7.

4

Which software versions are affected by CVE-2002-2439?

The vulnerability affects gcc before version 4.8.0.

5

How can I fix CVE-2002-2439?

To fix CVE-2002-2439, update gcc to version 4.8.0 or higher.

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