The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of integer overflows, which may leave applications vulnerable to vulnerabilities related to overflows.
http://www.kb.cert.org/vuls/id/540517
http://gcc.gnu.org/ml/gcc-bugs/2002-05/msg00198.html
Source: Mitre, NVD
Published: 2000-11-01
Updated: 2026-06-16
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.00436