Every CVE Search/ Get API key

CVE-2002-2439

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

7.8 High

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.55%Down 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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

Record
CVE-2002-2439
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

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

Record
CVE-2002-2439
Updated
2026-11-02
EUVDEUVD-2002-2417 No score

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

Record
EUVD-2002-2417
Updated
2026-11-03
GitHub AdvisoriesGHSA-mm8j-7g3h-x2mj 7.8

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

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

Record
GHSA-mm8j-7g3h-x2mj
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVUBUNTU-CVE-2002-2439 No score

operator new[] sometimes returns pointers to heap blocks which are too small. When a new array is allocated, the C++ run-time has to calculate its size. The product may exceed the maximum value which can be stored in a machine register. This error is ignored, and the truncated value is used for the heap allocation. This may lead to heap overflows and therefore security bugs. (See http://cert.uni-stuttgart.de/advisories/calloc.php for further references.)

Record
UBUNTU-CVE-2002-2439
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gcc-4.7
Ubuntu:14.04:LTS
All versions, plus listed versions
4.7.3-7ubuntu34.7.3-8ubuntu14.7.3-9ubuntu14.7.3-9ubuntu24.7.3-10ubuntu14.7.3-11ubuntu14.7.3-12ubuntu1
None known
gcc-mingw-w64
Ubuntu:14.04:LTS
All versions, plus listed versions
891112
None known
gcc-4.7
Ubuntu:16.04:LTS
All versions, plus listed versions
4.7.4-3ubuntu34.7.4-3ubuntu74.7.4-3ubuntu94.7.4-3ubuntu104.7.4-3ubuntu114.7.4-3ubuntu12
None known
gcc-4.7-armel-cross
Ubuntu:16.04:LTS
All versions, plus listed versions
1.861.903
None known
gcc-4.7-armhf-cross
Ubuntu:16.04:LTS
All versions, plus listed versions
1.861.873
None known
gcc-arm-linux-androideabi
Ubuntu:16.04:LTS
All versions, plus listed versions
0.20130705.1-0ubuntu80.20130705.1-0ubuntu9
None known
gcc-arm-none-eabi
Ubuntu:16.04:LTS
All versions, plus listed versions
15:4.9.3+svn227297-115:4.9.3+svn227297-1build115:4.9.3+svn231177-1
None known
gcc-h8300-hms
Ubuntu:16.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4ubuntu1
None known
gcc-i686-linux-android
Ubuntu:16.04:LTS
All versions, plus listed versions
79
None known
gcc-mingw-w64
Ubuntu:16.04:LTS
All versions, plus listed versions
15.415.715.7build116build117
None known
Show 25 moreShow less
Affected packages
PackageAffectedFixed
gcc-msp430
Ubuntu:16.04:LTS
All versions, plus listed versions
4.6.3~mspgcc-20120406-7ubuntu3
None known
gcc-arm-none-eabi
Ubuntu:18.04:LTS
All versions, plus listed versions
15:5.4.1+svn241155-115:6.3.1+svn253039-115:6.3.1+svn253039-1build1
None known
gcc-h8300-hms
Ubuntu:18.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4ubuntu11:3.4.6+dfsg2-4ubuntu3
None known
gcc-mingw-w64
Ubuntu:18.04:LTS
All versions, plus listed versions
19.32020.120.220.2build1
None known
gcc-msp430
Ubuntu:18.04:LTS
All versions, plus listed versions
4.6.3~mspgcc-20120406-7ubuntu44.6.3~mspgcc-20120406-7ubuntu5
None known
gcc-arm-none-eabi
Ubuntu:20.04:LTS
All versions, plus listed versions
15:7-2018-q2-615:8-2019-q3-115:9-2019-q4-0ubuntu1
None known
gcc-h8300-hms
Ubuntu:20.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4ubuntu31:3.4.6+dfsg2-4.1
None known
gcc-mingw-w64
Ubuntu:20.04:LTS
All versions, plus listed versions
22~exp1ubuntu222~exp1ubuntu322~exp1ubuntu4
None known
gcc-msp430
Ubuntu:20.04:LTS
All versions, plus listed versions
4.6.3~mspgcc-20120406-7.1ubuntu3
None known
gcc-arm-none-eabi
Ubuntu:22.04:LTS
All versions, plus listed versions
15:9-2019-q4-0ubuntu215:10.3-2021.07-115:10.3-2021.07-215:10.3-2021.07-315:10.3-2021.07-4
None known
gcc-h8300-hms
Ubuntu:22.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4.11:3.4.6+dfsg2-4.2
None known
gcc-mingw-w64
Ubuntu:22.04:LTS
All versions, plus listed versions
24.224.3
None known
gcc-msp430
Ubuntu:22.04:LTS
All versions, plus listed versions
4.6.3~mspgcc-20120406-7.1ubuntu3
None known
gcc-arm-none-eabi
Ubuntu:24.04:LTS
All versions, plus listed versions
15:12.2.rel1-115:13.2.rel1-115:13.2.rel1-2
None known
gcc-h8300-hms
Ubuntu:24.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4.2
None known
gcc-mingw-w64
Ubuntu:24.04:LTS
All versions, plus listed versions
25.326.1
None known
gcc-arm-none-eabi
Ubuntu:25.10
All versions, plus listed versions
15:14.2.rel1-1
None known
gcc-h8300-hms
Ubuntu:25.10
All versions, plus listed versions
1:3.4.6+dfsg2-4.2
None known
gcc-mingw-w64
Ubuntu:25.10
All versions, plus listed versions
26.1
None known
gcc-arm-none-eabi
Ubuntu:26.10
All versions, plus listed versions
15:14.2.rel1-115:15.3.rel1-1
None known
gcc-h8300-hms
Ubuntu:26.10
All versions, plus listed versions
1:3.4.6+dfsg2-12
None known
gcc-mingw-w64
Ubuntu:26.10
All versions, plus listed versions
26.129ubuntu3
None known
gcc-arm-none-eabi
Ubuntu:26.04:LTS
All versions, plus listed versions
15:14.2.rel1-1
None known
gcc-h8300-hms
Ubuntu:26.04:LTS
All versions, plus listed versions
1:3.4.6+dfsg2-4.21:3.4.6+dfsg2-91:3.4.6+dfsg2-101:3.4.6+dfsg2-111:3.4.6+dfsg2-12
None known
gcc-mingw-w64
Ubuntu:26.04:LTS
All versions, plus listed versions
26.1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2002-2439 is a high vulnerability (CVSS 7.8) in Gnu Gcc, published October 23, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.55%, the 45th percentile. No source names a fixed version.

References

MoveEnter Open