Skip to content
Heist/ feed
Back to feed
MediumFix available

expat, libxmltok — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2012-6702

Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.

Products
expat, libxmltok
Affected versions
1.2-4, 1.2-4.1, 1.2-4.1~exp1, 1.2-4.2
Fixed versions
2.1.1-3
CVEs
CVE-2012-6702
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:02 UTC · Revision 1

Source evidence

DEBIAN-CVE-2012-6702

core-osv · Original source

Published 16 Jun 2016, 18:59 UTC

Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.

osv:DEBIAN-CVE-2012-6702

expat

Fixed versions: 2.1.1-3

expat

Fixed versions: 2.1.1-3

expat

Fixed versions: 2.1.1-3

libxmltok

Fixed versions: Not specified

Complete source record
{
  "id": "50c64c84780c6901b6ded8d7f4da7cf11c943dd1d78f791f528d90163d8a03db",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-6702",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2012-6702",
    "summary": "Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection mechanisms via vectors involving use of the srand function.",
    "evidence": "osv:DEBIAN-CVE-2012-6702",
    "products": [
      {
        "name": {
          "value": "expat",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.1-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "expat",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.1-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "expat",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.1.1-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxmltok",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.2-4.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.2-4.1~exp1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.2-4.2",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2012-6702",
      "aliases": [
        "DEBIAN-CVE-2012-6702"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.1-3"
                }
              ]
            }
          ],
          "package": {
            "name": "expat",
            "purl": "pkg:deb/debian/expat?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-6702.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.1-3"
                }
              ]
            }
          ],
          "package": {
            "name": "expat",
            "purl": "pkg:deb/debian/expat?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-6702.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.1.1-3"
                }
              ]
            }
          ],
          "package": {
            "name": "expat",
            "purl": "pkg:deb/debian/expat?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-6702.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libxmltok",
            "purl": "pkg:deb/debian/libxmltok?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.2-4",
            "1.2-4.1",
            "1.2-4.1~exp1",
            "1.2-4.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-6702.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:02:55.108509894Z",
      "provider": "osv",
      "upstream": [
        "CVE-2012-6702"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2012-6702"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2012-6702",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 419795,
  "published_at": "2016-06-16T18:59:00.327+00:00"
}