GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-67873 (GCVE-0-2025-67873)

Vulnerability from cvelistv5 – Published: 2025-12-17 21:12 – Updated: 2025-12-18 15:09
VLAI
Title
Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
Summary
Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-12-18 14:55 UTC
CWE
  • CWE-122 - Heap-based Buffer Overflow
References
Impacted products
Vendor Product Version CPE status
capstone-engine capstone Affected: <= 6.0.0-Alpha5
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-67873",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-12-18T14:55:59.806611Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-12-18T15:09:19.484Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "capstone",
          "vendor": "capstone-engine",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c= 6.0.0-Alpha5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-122",
              "description": "CWE-122: Heap-based Buffer Overflow",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-17T21:12:13.739Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
        },
        {
          "name": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3"
        }
      ],
      "source": {
        "advisory": "GHSA-hj6g-v545-v7jg",
        "discovery": "UNKNOWN"
      },
      "title": "Capstone doesn\u0027t check Skipdata length, leading to cs_insn.bytes heap buffer overflow"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-67873",
    "datePublished": "2025-12-17T21:12:13.739Z",
    "dateReserved": "2025-12-12T18:53:03.237Z",
    "dateUpdated": "2025-12-18T15:09:19.484Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-67873",
      "date": "2026-09-19",
      "epss": "0.00235",
      "percentile": "0.14724"
    },
    "microsoft_vex": {
      "current_release_date": "2026-03-04T14:36:46.000Z",
      "cve": "CVE-2025-67873",
      "id": "msrc_CVE-2025-67873",
      "initial_release_date": "2025-12-02T00:00:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "4",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Capstone doesn\u0027t check Skipdata length, leading to cs_insn.bytes heap buffer overflow",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-67873.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "capstone",
                "vendor": "capstone-engine",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003c= 6.0.0-Alpha5"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DD22C7C2-F647-4AB5-BEB4-C70F722C0419",
                    "versionEndExcluding": "6.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha1:*:*:*:*:*:*",
                    "matchCriteriaId": "99F76525-F73B-4F66-AE46-A1ECAF0C7A0C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha2:*:*:*:*:*:*",
                    "matchCriteriaId": "442C7F48-5BEE-4702-AC0F-DE5C70FAA93F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha3:*:*:*:*:*:*",
                    "matchCriteriaId": "3C88415A-376C-4F7F-9D7D-3CB5C8FB9346",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha4:*:*:*:*:*:*",
                    "matchCriteriaId": "67358CE5-F734-4E55-B021-D3AC5D937DD4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha5:*:*:*:*:*:*",
                    "matchCriteriaId": "9DED59B8-DC00-4323-89FA-044F7666AF5D",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue."
          }
        ],
        "id": "CVE-2025-67873",
        "lastModified": "2026-06-17T09:58:12.490",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "LOW",
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 1.3,
              "impactScore": 3.4,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2025-67873",
                "options": [
                  {
                    "exploitation": "poc"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-12-18T14:55:59.806611Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-12-17T22:16:00.147",
        "references": [
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
          },
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-122"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-21T12:05:48+00:00",
      "cve": "CVE-2025-67873",
      "id": "CVE-2025-67873",
      "initial_release_date": "2025-12-17T21:12:13.739000+00:00",
      "product_status:fixed": "238",
      "product_status:known_not_affected": "129",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "capstone: Capstone: Heap buffer overflow via skipdata callback allows denial of service or arbitrary code execution.",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-67873.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T01:12:52Z",
      "cve": "CVE-2025-67873",
      "id": "CVE-2025-67873",
      "initial_release_date": "2025-12-19T00:26:17Z",
      "product_status:known_affected": "37",
      "product_status:recommended": "22",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-67873",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-67873.json",
      "version": "14"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-67873",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-12-18T14:55:59.806611Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-12-18T14:56:03.352Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "capstone",
              "vendor": "capstone-engine",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c= 6.0.0-Alpha5"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "LOW",
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-122",
                  "description": "CWE-122: Heap-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-12-17T21:12:13.739Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
            },
            {
              "name": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3"
            }
          ],
          "source": {
            "advisory": "GHSA-hj6g-v545-v7jg",
            "discovery": "UNKNOWN"
          },
          "title": "Capstone doesn\u0027t check Skipdata length, leading to cs_insn.bytes heap buffer overflow"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2025-67873",
        "datePublished": "2025-12-17T21:12:13.739Z",
        "dateReserved": "2025-12-12T18:53:03.237Z",
        "dateUpdated": "2025-12-17T21:12:13.739Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…