TFTP Packet Buffer Overflow
libcurl uses the given file part of a TFTP URL in a manner that allows a malicious user to overflow a heap-based memory buffer due to the lack of boundary check. This overflow happens if you pass in a URL with a TFTP protocol prefix ("tftp://"), using a valid host and a path part that is longer than 512 bytes. The affected flaw can be triggered by a redirect, if curl/libcurl is told to follow redirects and an HTTP server points the client to a tftp URL with the characteristics described above.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2006-1061
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:35 UTC · Revision 1
Source evidence
libcurl uses the given file part of a TFTP URL in a manner that allows a malicious user to overflow a heap-based memory buffer due to the lack of boundary check. This overflow happens if you pass in a URL with a TFTP protocol prefix ("tftp://"), using a valid host and a path part that is longer than 512 bytes. The affected flaw can be triggered by a redirect, if curl/libcurl is told to follow redirects and an HTTP server points the client to a tftp URL with the characteristics described above.
osv:CURL-CVE-2006-1061
Complete source record
{
"id": "bd73c4da8cf92adbbd9086f8bcc178e4490dc576c9ab394adcd9927f0a73d6a0",
"url": "https://osv.dev/vulnerability/CURL-CVE-2006-1061",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "TFTP Packet Buffer Overflow",
"summary": "libcurl uses the given file part of a TFTP URL in a manner that allows a malicious user to overflow a heap-based memory buffer due to the lack of boundary check. This overflow happens if you pass in a URL with a TFTP protocol prefix (\"tftp://\"), using a valid host and a path part that is longer than 512 bytes. The affected flaw can be triggered by a redirect, if curl/libcurl is told to follow redirects and an HTTP server points the client to a tftp URL with the characteristics described above.",
"evidence": "osv:CURL-CVE-2006-1061",
"products": [],
"severity": "high",
"structured": {
"id": "CURL-CVE-2006-1061",
"aliases": [
"CURL-CVE-2006-1061",
"CVE-2006-1061"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.15.0"
},
{
"fixed": "7.15.3"
}
]
}
],
"versions": [
"7.15.2",
"7.15.1",
"7.15.0"
],
"database_specific": {
"source": "https://curl.se/docs/CURL-CVE-2006-1061.json"
}
}
],
"modified": "2026-10-24T23:29:53Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"CWE": {
"id": "CWE-122",
"desc": "Heap-based Buffer Overflow"
},
"URL": "https://curl.se/docs/CVE-2006-1061.json",
"www": "https://curl.se/docs/CVE-2006-1061.html",
"affects": "both",
"package": "curl",
"severity": "High",
"last_affected": "7.15.2"
}
},
"related_cves": [
{
"value": "CVE-2006-1061",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 444209,
"published_at": "2006-03-20T08:00:00+00:00"
}