Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-2669

Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.

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

Source evidence

CVE-2017-2669

core-osv · Original source

Published 21 Jun 2018, 13:29 UTC

Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.

osv:CVE-2017-2669
Complete source record
{
  "id": "4f32f0d864420647f5ae1536097e2804ebe838331fcec19549fe8c7f4a369b20",
  "url": "https://osv.dev/vulnerability/CVE-2017-2669",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-2669",
    "summary": "Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.",
    "evidence": "osv:CVE-2017-2669",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-2669",
      "aliases": [
        "CVE-2017-2669"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dovecot/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "54d654098032d96975b70749b505fae538e97f7a"
                },
                {
                  "last_affected": "bed84341d457ca12b3ffc2789f5ce5a50f473c17"
                },
                {
                  "fixed": "000030feb7a30f193197f1aab8a7b04a26b42735"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.26"
                      },
                      {
                        "last_affected": "2.2.28"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "000030feb7a30f193197f1aab8a7b04a26b42735"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2669.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-2669-8b3a137b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "267636158964568098863636960298466532724",
                    "2352569610556384996954443346264017109",
                    "93946251500024901057239984742115296506",
                    "24637658557778190796647398033891828969",
                    "211611469493583939446357562940970616992",
                    "278277978705547623851111021639629407269",
                    "124382171383543376698073773677944138094",
                    "187087530198002650493950430766339868348",
                    "162450648597069746051999601511029220517"
                  ]
                },
                "source": "https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735",
                "target": {
                  "file": "src/auth/db-dict.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-2669-a636a152",
                "digest": {
                  "length": 1242,
                  "function_hash": "258390715530272175125914701927623207390"
                },
                "source": "https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735",
                "target": {
                  "file": "src/auth/db-dict.c",
                  "function": "db_dict_iter_lookup_key_values"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:21:50Z"
          }
        }
      ],
      "modified": "2026-10-20T13:21:50.961466323Z",
      "provider": "osv",
      "references": [
        "https://dovecot.org/pipermail/dovecot-news/2017-April/000341.html",
        "https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch",
        "https://www.debian.org/security/2017/dsa-3828",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2669"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-2669",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387563,
  "published_at": "2018-06-21T13:29:00.317+00:00"
}