CVE-2002-1816 in Redshift Atphttpd
Off-by-one buffer overflow in the sock_gets function in sockhelp.c for ATPhttpd 0.4b and earlier allows remote attackers to execute arbitrary code via a long HTTP GET request.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redshift | Atphttpd | ≤ 0.4b |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Off-by-one buffer overflow in the sock_gets function in sockhelp.c for ATPhttpd 0.4b and earlier allows remote attackers to execute arbitrary code via a long HTTP GET request.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-1816 |
|---|---|
| BreachSpider ID | BS-2002-GLOBAL-158872-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2002-12-31 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-193: CWE-193
Analysis AI-written, not human-reviewed
An off-by-one buffer overflow vulnerability in the sock_gets function of ATPhttpd 0.4b and earlier versions can be exploited by remote attackers to execute arbitrary code through a long HTTP GET request.
The vulnerability exists in the sock_gets function within the sockhelp.c file. Attackers can exploit this by sending a specially crafted HTTP GET request that exceeds the buffer size, leading to a buffer overflow and potential code execution.
Questions
What is CVE-2002-1816?
An off-by-one buffer overflow vulnerability in the sock_gets function of ATPhttpd 0.4b and earlier versions can be exploited by remote attackers to execute arbitrary code through a long HTTP GET request.
What is the CVSS score for CVE-2002-1816?
CVE-2002-1816 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 9.0%.
Is CVE-2002-1816 actively exploited?
Public exploit available for CVE-2002-1816. Exploitation risk elevated.
How do I remediate CVE-2002-1816?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2002-1816?
CVE-2002-1816 affects Redshift Atphttpd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redshift","product":"Atphttpd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.