{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:thrift:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.24.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6d2ec95f450b4ce404afb8929ff479e68770141a"
            }
          ],
          "repo": "https://github.com/apache/thrift",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-125",
      "CWE-1284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58662.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "0.24.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "0.24.0"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Improper Validation of Specified Quantity in Input, Out-of-bounds Read vulnerability in Apache Thrift C++ bindings.\n\nThis issue affects Apache Thrift: before 0.24.0.\n\nUsers are recommended to upgrade to version 0.24.0, which fixes the issue.",
  "id": "CVE-2026-58662",
  "modified": "2026-08-12T03:51:09.101869108Z",
  "published": "2026-07-27T11:17:26.018Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/07/24/45"
    },
    {
      "type": "WEB",
      "url": "https://conan.io/center"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58662.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/13mzvylr3r3nktxrh5k1h30ng1t1sw1d"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58662"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache Thrift: C++ THeaderTransport::readString() info-header length bounds bypass"
}