{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:miyagawa:starman:*:*:*:*:*:perl:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.4018"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "636cd8b04e0fb5caba3fb9d24a4dcfc9074c0d1c"
            },
            {
              "fixed": "ced205f0805027e9d9c0731f8c40b104220604ed"
            }
          ],
          "repo": "https://github.com/miyagawa/starman",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-444"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40560.json"
  },
  "details": "Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence.\n\nStarman incorrectly prioritizes \"Content-Length\" over \"Transfer-Encoding: chunked\" when both headers are present in an HTTP request. Per RFC 7230 3.3.3, Transfer-Encoding must take precedence.\n\nAn attacker could exploit this to smuggle malicious HTTP requests via a front-end reverse proxy.",
  "id": "CVE-2026-40560",
  "modified": "2026-07-15T01:49:16.398176393Z",
  "published": "2026-04-28T23:46:37.780Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/04/29/1"
    },
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "WEB",
      "url": "https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40560.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/MIYAGAWA/Starman-0.4018/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40560"
    },
    {
      "type": "FIX",
      "url": "https://github.com/miyagawa/Starman/commit/ced205f0805027e9d9c0731f8c40b104220604ed.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/miyagawa/Starman"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Starman versions before 0.4018 for Perl allows HTTP Request Smuggling via Improper Header Precedence"
}