libotr — security advisory
The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value "?OTR:===.", which triggers a heap-based buffer overflow.
- Products
- libotr
- Affected versions
- Not specified
- Fixed versions
- 3.2.1-1
- CVEs
- CVE-2012-3461
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:21 UTC · Revision 1
Source evidence
The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value "?OTR:===.", which triggers a heap-based buffer overflow.
osv:DEBIAN-CVE-2012-3461
libotr
Fixed versions: 3.2.1-1
libotr
Fixed versions: 3.2.1-1
libotr
Fixed versions: 3.2.1-1
Complete source record
{
"id": "85c50b3d9d45edc1b6da3b82c4282d6814a4a189b2a1a3eef53d55d3d2ae8c4d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-3461",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2012-3461",
"summary": "The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value \"?OTR:===.\", which triggers a heap-based buffer overflow.",
"evidence": "osv:DEBIAN-CVE-2012-3461",
"products": [
{
"name": {
"value": "libotr",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libotr",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libotr",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2012-3461",
"aliases": [
"DEBIAN-CVE-2012-3461"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1-1"
}
]
}
],
"package": {
"name": "libotr",
"purl": "pkg:deb/debian/libotr?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3461.json"
},
"ecosystem_specific": {
"urgency": "medium"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1-1"
}
]
}
],
"package": {
"name": "libotr",
"purl": "pkg:deb/debian/libotr?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3461.json"
},
"ecosystem_specific": {
"urgency": "medium"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1-1"
}
]
}
],
"package": {
"name": "libotr",
"purl": "pkg:deb/debian/libotr?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3461.json"
},
"ecosystem_specific": {
"urgency": "medium"
}
}
],
"modified": "2026-10-23T17:47:41.512053885Z",
"provider": "osv",
"upstream": [
"CVE-2012-3461"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2012-3461"
]
},
"related_cves": [
{
"value": "CVE-2012-3461",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 418376,
"published_at": "2012-08-20T19:55:05.527+00:00"
}