{
  "id": "CVE-2025-38676",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38676",
  "published_at": "2025-08-26T13:07:48.761Z",
  "title": "iommu/amd: Avoid stack buffer overflow from kernel cmdline",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-08-27T01:29:50Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 0.5,
    "repo": "14mb1v45h/CVE-2025-38676",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Avoid stack buffer overflow from kernel cmdline\n\nWhile the kernel command line is considered trusted in most environments,\navoid writing 1 byte past the end of \"acpiid\" if the \"str\" argument is\nmaximum length.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "14mb1v45h/CVE-2025-38676",
      "url": "https://github.com/14mb1v45h/CVE-2025-38676",
      "created_at": "2025-08-27T01:29:50Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-04-09T18:13:32Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f2a5ec7f7b28f9b9cd5fac232ff51019a7f7b9e9, \u003c a732502bf3bbe859613b6d7b2b0313b11f0474ac",
          "\u003e= c513043e0afe6a8ba79d00af358655afabb576d2, \u003c 0ad8509b468fa1058f4f400a1829f29e4ccc4de8",
          "\u003e= 2ae19ac3ea82a5b87a81c10adbb497c9e58bdd60, \u003c 9ff52d3af0ef286535749e14e3fe9eceb39a8349",
          "\u003e= b6b26d86c61c441144c72f842f7469bb686e1211, \u003c 8f80c633cba144f721d38d9380f23d23ab7db10e",
          "\u003e= b6b26d86c61c441144c72f842f7469bb686e1211, \u003c 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a",
          "\u003e= b6b26d86c61c441144c72f842f7469bb686e1211, \u003c 736db11c86f03e717fc4bf771d05efdf10d23acb",
          "\u003e= b6b26d86c61c441144c72f842f7469bb686e1211, \u003c 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec",
          "5e97dc748d13fad582136ba0c8cec215c7aeeb17",
          "63cd11165e5e0ea2012254c764003eda1f9adb7d",
          "\u003e= 5.10.175, \u003c 5.10.241",
          "\u003e= 5.15.103, \u003c 5.15.190",
          "\u003e= 6.1.16, \u003c 6.1.149",
          "\u003e= 5.4.237, \u003c 5.5",
          "\u003e= 6.2.3, \u003c 6.3"
        ],
        "fixed_in": [
          "a732502bf3bbe859613b6d7b2b0313b11f0474ac",
          "0ad8509b468fa1058f4f400a1829f29e4ccc4de8",
          "9ff52d3af0ef286535749e14e3fe9eceb39a8349",
          "8f80c633cba144f721d38d9380f23d23ab7db10e",
          "4bdb0f78bddbfa77d3ab458a21dd9cec495d317a",
          "736db11c86f03e717fc4bf771d05efdf10d23acb",
          "8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec",
          "5.10.241",
          "5.15.190",
          "6.1.149",
          "5.5",
          "6.3"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.3"
        ],
        "fixed_in": [
          "0",
          "5.10.241",
          "5.15.190",
          "6.1.149",
          "6.6.103",
          "6.12.44",
          "6.16.4",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a732502bf3bbe859613b6d7b2b0313b11f0474ac or 0ad8509b468fa1058f4f400a1829f29e4ccc4de8 or 9ff52d3af0ef286535749e14e3fe9eceb39a8349 or 8f80c633cba144f721d38d9380f23d23ab7db10e or 4bdb0f78bddbfa77d3ab458a21dd9cec495d317a or 736db11c86f03e717fc4bf771d05efdf10d23acb or 8503d0fcb1086a7cfe26df67ca4bd9bd9e99bdec or 5.10.241 or 5.15.190 or 6.1.149 or 5.5 or 6.3 or later.",
      "Upgrade Linux to 0 or 5.10.241 or 5.15.190 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
