# Integer Overflow / Large Number Handling - ID: python-integer-overflow - Severity: LOW - CWE: CWE-190 (CWE-190) - Languages: Python ## Description Detects potential integer overflow in numeric operations. ## Remediation Validate numeric bounds before arithmetic operations. ```python from flask import request, jsonify @app.route('/calculate') def calculate(): count = int(request.args.get('count', 0)) if count < 0 or count > 10000: return jsonify({'error': 'Invalid count'}), 400 result = count * unit_price return jsonify({'total': result}) ``` Learn more: https://shoulder.dev/learn/python/cwe-190/integer-overflow ## Documentation [object Object] ## Related Rules - **Integer Overflow via Unchecked Arithmetic** [MEDIUM]: - **Integer Overflow via Unchecked Arithmetic** [MEDIUM]: