Your submission was sent successfully! Close

CVE-2002-2439

Published: 23 February 2015

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.)

Priority

Low

Status

Package Release Status
gcc-4.1
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Ignored
(reached end-of-life)
precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.3
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Ignored
(reached end-of-life)
precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.4
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Ignored
(reached end-of-life)
precise Does not exist
(precise was needs-triage)
trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.4-armel-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.4-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.5
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.5-armel-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.5-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.6
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Ignored
(end of ESM support, was needs-triage)
trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.6-armel-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.6-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.7
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Needs triage

upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored

yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-4.7-armel-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-4.7-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-4.8
Launchpad, Ubuntu, Debian
artful Not vulnerable
(4.8.2-19ubuntu1)
bionic Not vulnerable
(4.8.2-19ubuntu1)
cosmic Not vulnerable
(4.8.2-19ubuntu1)
disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Not vulnerable
(4.8.2-19ubuntu1)
upstream
Released (4.8.0)
utopic Not vulnerable
(4.8.2-19ubuntu1)
vivid Not vulnerable
(4.8.2-19ubuntu1)
wily Not vulnerable
(4.8.2-19ubuntu1)
xenial Not vulnerable
(4.8.2-19ubuntu1)
yakkety Not vulnerable
(4.8.2-19ubuntu1)
zesty Not vulnerable
(4.8.2-19ubuntu1)
Patches:
upstream: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=193174
upstream: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=190546
gcc-4.8-arm64-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was not-affected)
upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Not vulnerable

xenial Not vulnerable

yakkety Does not exist

zesty Does not exist

gcc-4.8-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was not-affected)
upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Not vulnerable

xenial Not vulnerable

yakkety Does not exist

zesty Does not exist

gcc-4.8-powerpc-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was not-affected)
upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Not vulnerable

xenial Not vulnerable

yakkety Does not exist

zesty Does not exist

gcc-4.8-ppc64el-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was not-affected)
upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Not vulnerable

xenial Not vulnerable

yakkety Does not exist

zesty Does not exist

gcc-4.9
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Not vulnerable
(4.8.0)
utopic Not vulnerable
(4.9.1-8ubuntu1)
vivid Not vulnerable
(4.9.1-8ubuntu1)
wily Not vulnerable
(4.9.1-8ubuntu1)
xenial Not vulnerable
(4.9.1-8ubuntu1)
yakkety Not vulnerable
(4.9.1-8ubuntu1)
zesty Not vulnerable
(4.9.1-8ubuntu1)
gcc-4.9-arm64-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.9-armel-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Not vulnerable

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.9-armhf-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.9-powerpc-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-4.9-ppc64el-cross
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-arm-linux-androideabi
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-arm-none-eabi
Launchpad, Ubuntu, Debian
artful Ignored
(reached end-of-life)
bionic Needs triage

cosmic Ignored
(reached end-of-life)
disco Ignored
(reached end-of-life)
eoan Ignored
(reached end-of-life)
focal Needs triage

groovy Ignored
(reached end-of-life)
hirsute Ignored
(reached end-of-life)
impish Needs triage

jammy Needs triage

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-avr
Launchpad, Ubuntu, Debian
artful Not vulnerable

bionic Not vulnerable

cosmic Not vulnerable

disco Not vulnerable

eoan Not vulnerable

focal Not vulnerable

groovy Not vulnerable

hirsute Not vulnerable

impish Not vulnerable

jammy Not vulnerable

lucid Ignored
(reached end-of-life)
precise Does not exist
(precise was needs-triage)
trusty Does not exist
(trusty was not-affected)
upstream Needs triage

utopic Not vulnerable

vivid Not vulnerable

wily Not vulnerable

xenial Not vulnerable

yakkety Not vulnerable

zesty Not vulnerable

gcc-h8300-hms
Launchpad, Ubuntu, Debian
artful Ignored
(reached end-of-life)
bionic Needs triage

cosmic Ignored
(reached end-of-life)
disco Ignored
(reached end-of-life)
eoan Ignored
(reached end-of-life)
focal Needs triage

groovy Ignored
(reached end-of-life)
hirsute Ignored
(reached end-of-life)
impish Needs triage

jammy Needs triage

lucid Ignored
(reached end-of-life)
precise Does not exist
(precise was needs-triage)
trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-i686-linux-android
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Does not exist

precise Does not exist

trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-mingw-w64
Launchpad, Ubuntu, Debian
artful Ignored
(reached end-of-life)
bionic Needs triage

cosmic Ignored
(reached end-of-life)
disco Ignored
(reached end-of-life)
eoan Ignored
(reached end-of-life)
focal Needs triage

groovy Ignored
(reached end-of-life)
hirsute Ignored
(reached end-of-life)
impish Needs triage

jammy Needs triage

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Needs triage

upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-mingw32
Launchpad, Ubuntu, Debian
artful Does not exist

bionic Does not exist

cosmic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

lucid Ignored
(reached end-of-life)
precise Does not exist

trusty Does not exist

upstream Needs triage

utopic Does not exist

vivid Does not exist

wily Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

gcc-msp430
Launchpad, Ubuntu, Debian
artful Ignored
(reached end-of-life)
bionic Needs triage

cosmic Ignored
(reached end-of-life)
disco Ignored
(reached end-of-life)
eoan Ignored
(reached end-of-life)
focal Needs triage

groovy Ignored
(reached end-of-life)
hirsute Ignored
(reached end-of-life)
impish Needs triage

jammy Needs triage

lucid Does not exist

precise Does not exist
(precise was needs-triage)
trusty Does not exist
(trusty was needs-triage)
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Ignored
(reached end-of-life)
xenial Ignored
(end of standard support, was needs-triage)
yakkety Ignored
(reached end-of-life)
zesty Ignored
(reached end-of-life)
gcc-snapshot
Launchpad, Ubuntu, Debian
artful Not vulnerable
(20140405-0ubuntu1)
bionic Not vulnerable
(20140405-0ubuntu1)
cosmic Not vulnerable
(20140405-0ubuntu1)
disco Not vulnerable
(20140405-0ubuntu1)
eoan Not vulnerable
(20140405-0ubuntu1)
focal Not vulnerable
(20140405-0ubuntu1)
groovy Not vulnerable
(20140405-0ubuntu1)
hirsute Not vulnerable
(20140405-0ubuntu1)
impish Not vulnerable
(20140405-0ubuntu1)
jammy Not vulnerable
(20140405-0ubuntu1)
lucid Ignored
(reached end-of-life)
precise Does not exist
(precise was needs-triage)
trusty Does not exist
(trusty was not-affected [20140405-0ubuntu1])
upstream Needs triage

utopic Ignored
(reached end-of-life)
vivid Ignored
(reached end-of-life)
wily Not vulnerable
(20140405-0ubuntu1)
xenial Not vulnerable
(20140405-0ubuntu1)
yakkety Not vulnerable
(20140405-0ubuntu1)
zesty Not vulnerable
(20140405-0ubuntu1)

Notes

AuthorNote
sbeattie
fixed upstream in gcc 4.8.0
backporting fixes may be problematic for ABI issues
gcc-i686-linux-android/xenial is 4.7.4 based
mdeslaur
gcc-4.7 is not the default xenial compiler and is only used to
build a few packages. Fixing this would be intrusive, would
require rebuilding those packages, and there is no clear
attack vector on them. We will not be fixing gcc-4.7 in xenial.
Marking as ignored.

References

Bugs