Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19185

An issue has been found in libIEC61850 v1.3. It is a heap-based buffer overflow in BerEncoder_encodeOctetString in mms/asn1/ber_encoder.c. This is exploitable even after CVE-2018-18834 has been patched, with a different dataSetValue sequence than the CVE-2018-18834 attack vector.

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

Source evidence

CVE-2018-19185

core-osv · Original source

Published 12 Nov 2018, 05:29 UTC

An issue has been found in libIEC61850 v1.3. It is a heap-based buffer overflow in BerEncoder_encodeOctetString in mms/asn1/ber_encoder.c. This is exploitable even after CVE-2018-18834 has been patched, with a different dataSetValue sequence than the CVE-2018-18834 attack vector.

osv:CVE-2018-19185
Complete source record
{
  "id": "1f197ff5ad40dcd26bea927ba0de3595b8284292a130416794d86e0f89a2cfa3",
  "url": "https://osv.dev/vulnerability/CVE-2018-19185",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19185",
    "summary": "An issue has been found in libIEC61850 v1.3. It is a heap-based buffer overflow in BerEncoder_encodeOctetString in mms/asn1/ber_encoder.c. This is exploitable even after CVE-2018-18834 has been patched, with a different dataSetValue sequence than the CVE-2018-18834 attack vector.",
    "evidence": "osv:CVE-2018-19185",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-19185",
      "aliases": [
        "CVE-2018-19185"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mz-automation/libiec61850",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6ba363bd4a4803dfb194733a9729ad421d6b49f0"
                },
                {
                  "last_affected": "6ba363bd4a4803dfb194733a9729ad421d6b49f0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mz-automation:libiec61850:1.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3"
                      },
                      {
                        "last_affected": "1.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.3",
            "v1.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19185.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:57.846797743Z",
      "provider": "osv",
      "references": [
        "https://github.com/fouzhe/security/tree/master/libiec61850#another-heap-buffer-overflow-in-function-berencoder_encodeoctetstring",
        "https://github.com/mz-automation/libiec61850/issues/87"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-19185",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379860,
  "published_at": "2018-11-12T05:29:00.23+00:00"
}