{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "medium"
      },
      "package": {
        "ecosystem": "Debian:11",
        "name": "libotr"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.1-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "medium"
      },
      "package": {
        "ecosystem": "Debian:12",
        "name": "libotr"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.1-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "medium"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "libotr"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.1-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "medium"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "libotr"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.1-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "DEBIAN-CVE-2012-3461",
  "modified": "2026-04-28T19:49:37.290063923Z",
  "published": "2012-08-20T19:55:05.527Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2012-3461"
    }
  ],
  "upstream": [
    "CVE-2012-3461"
  ]
}