Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-10027

Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the "starttls" feature from a server response.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-10027
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:09 UTC · Revision 1

Source evidence

CVE-2016-10027

core-osv · Original source

Published 12 Jan 2017, 23:59 UTC

Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the "starttls" feature from a server response.

osv:CVE-2016-10027
Complete source record
{
  "id": "5d550cfee004609380f96748537424a68172239e0696c71fc6fa42774678381e",
  "url": "https://osv.dev/vulnerability/CVE-2016-10027",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-10027",
    "summary": "Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the \"starttls\" feature from a server response.",
    "evidence": "osv:CVE-2016-10027",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-10027",
      "aliases": [
        "CVE-2016-10027",
        "GHSA-66pq-hqv5-228g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/igniterealtime/smack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "af6e80deccb7f587c8339272e4a7e8449edb7fdf"
                },
                {
                  "fixed": "059ee99ba0d5ff7758829acf5a9aeede09ec820b"
                },
                {
                  "fixed": "a9d5cd4a611f47123f9561bc5a81a4555fe7cb04"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:igniterealtime:smack:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.1.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "059ee99ba0d5ff7758829acf5a9aeede09ec820b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a9d5cd4a611f47123f9561bc5a81a4555fe7cb04"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.1.8",
            "4.1.7",
            "4.1.6",
            "4.1.5",
            "4.1.4",
            "4.1.3",
            "4.1.2",
            "4.1.1",
            "4.1.0",
            "4.0.0-rc2",
            "4.0.0-rc1",
            "3.3.1",
            "3.3.0",
            "3.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10027.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-10027-06fbf3d9",
                "digest": {
                  "length": 613,
                  "function_hash": "162405135499676843498723261240332619144"
                },
                "source": "https://github.com/igniterealtime/smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b",
                "target": {
                  "file": "smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java",
                  "function": "afterFeaturesReceived"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-1e5ffd5b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "166226024168020727660184602193806048629",
                    "134948199378779160109233975183569890954",
                    "88605558302310824271088796799865826146",
                    "14077166349019321174812351201942193449",
                    "196297237499967699417146947985424409963",
                    "143526958666681977381140448716380814740",
                    "99703176059305289874607224791631730449"
                  ]
                },
                "source": "https://github.com/igniterealtime/smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04",
                "target": {
                  "file": "smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-4e8eb18d",
                "digest": {
                  "length": 636,
                  "function_hash": "303702324975555651932198125445715319307"
                },
                "source": "https://github.com/igniterealtime/smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04",
                "target": {
                  "file": "smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java",
                  "function": "afterFeaturesReceived"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-523b49c2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "169165723362371969906079582323103709165",
                    "280501319024056637306658523885183107917",
                    "18020907112047099829245576821518696304",
                    "240627559848030021121748567304378147354",
                    "332333226042827317214943537786066364099",
                    "199290523618971167177330769165687145391",
                    "65092875263612402192528360632512628801",
                    "161544113212455933578606938570874477318",
                    "140938908259842131552865931184605750599",
                    "301528483712289000439262402127736642927",
                    "289993717744099073860443219432424799689",
                    "153359517629275981173086730913140254612",
                    "35448886486458228967770196170700976014",
                    "79668453002046957122340393401129745130",
                    "66506745986681061004248498574039422429",
                    "6067295856158812641652920037044037853",
                    "121816103822801407743410083376309923825"
                  ]
                },
                "source": "https://github.com/igniterealtime/smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04",
                "target": {
                  "file": "smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-69f52c21",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "306837521746475039993216674962358218187",
                    "169165723362371969906079582323103709165",
                    "280501319024056637306658523885183107917",
                    "18020907112047099829245576821518696304",
                    "240627559848030021121748567304378147354",
                    "332333226042827317214943537786066364099",
                    "199290523618971167177330769165687145391",
                    "24717805826992675106772755207926354630",
                    "224757940918842535709031839122829159062",
                    "126014197207263318222156671962590120951",
                    "263888287788781693049202060486679464291",
                    "290556763773336523595440420038438474553",
                    "198194804144594308455886483219740415631",
                    "140575533528821972582816968326032047590",
                    "317515420276118892021599926880481693919",
                    "153359517629275981173086730913140254612",
                    "35448886486458228967770196170700976014",
                    "79668453002046957122340393401129745130",
                    "66506745986681061004248498574039422429",
                    "6067295856158812641652920037044037853",
                    "121816103822801407743410083376309923825"
                  ]
                },
                "source": "https://github.com/igniterealtime/smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b",
                "target": {
                  "file": "smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-b4c9b071",
                "digest": {
                  "length": 341,
                  "function_hash": "298171788203308993864096917965207290590"
                },
                "source": "https://github.com/igniterealtime/smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04",
                "target": {
                  "file": "smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java",
                  "function": "connect"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-10027-f38cc652",
                "digest": {
                  "length": 256,
                  "function_hash": "117259362260470440390437471825470891971"
                },
                "source": "https://github.com/igniterealtime/smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b",
                "target": {
                  "file": "smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java",
                  "function": "connectInternal"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:13:35Z"
          }
        }
      ],
      "modified": "2026-10-20T13:13:35.460939671Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4WXAZ4JVJXHMEDDXJVWJHPVBF5QCTZF/",
        "https://community.igniterealtime.org/blogs/ignite/2016/11/22/smack-security-advisory-2016-11-22",
        "https://issues.igniterealtime.org/projects/SMACK/issues/SMACK-739",
        "https://github.com/igniterealtime/Smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b",
        "https://github.com/igniterealtime/Smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "25"
                  },
                  {
                    "last_affected": "25"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-10027",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387343,
  "published_at": "2017-01-12T23:59:00.197+00:00"
}