Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.
| Score | Percentile |
|---|---|
| 14.53% | 94.26% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 9.8 | 3.0 | — |
|
| 9.3 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-cq27-v7xp-c356 ↗ |
| CVE | CVE-2013-7459 ↗ |
| CWE id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| pip | pycrypto | <= 2.6.1 | — | — |