CVE-2012-4704: Array index error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary co
CVE-2012-4704 is a high-severity flaw (CVSS 10.0) affecting codesys gateway-server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Array index error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via a crafted packet.
Why this priority
- Critical severity
- EPSS top 9%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (High) |
| EPSS exploit chance | 4.2% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2013-02-24 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-4704?
codesys gateway-server: upgrade to newer than 2.3.9.20. Exact commands for each OS are on this page.
Is CVE-2012-4704 being exploited?
CVE-2012-4704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-4704 affect?
CVE-2012-4704 affects codesys gateway-server. Severity is high (CVSS 10.0). Array index error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via a crafted packet.
How urgent is CVE-2012-4704?
Priority 58/100. Critical severity; EPSS top 9%: very likely to be exploited
Related CVEs
- CVE-2013-2781 HIGH 10.0 DOWNGRADE Use-after-free vulnerability in the server application in 3S CODESYS Gateway 2.3.9.27 allows remote attackers
- CVE-2012-4708 HIGH 10.0 UPGRADE Stack-based buffer overflow in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute ar
- CVE-2012-4707 HIGH 10.0 UPGRADE 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via vectors that t
- CVE-2012-4706 HIGH 7.8 UPGRADE Integer signedness error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to cause a denia
- CVE-2012-4705 HIGH 10.0 UPGRADE Directory traversal vulnerability in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to exec