CVE-2026-57073 (GCVE-0-2026-57073)

Vulnerability from cvelistv5 – Published: 2026-07-16 16:15 – Updated: 2026-07-16 19:27
VLAI
Title
HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead
Summary
HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead. The parserc_parse function attempts to check for multicharacter strings such as "<![CDATA" or element terminators such as ">" without checking that the offsets are within the buffer. Truncated strings such as "<a/" can trigger an out-of-bounds read. Note that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.
Severity
No CVSS data available.
CWE
Assigner
Impacted products
Vendor Product Version
CODECHILD HTML::Bare Affected: 0 , ≤ 0.04 (custom)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-07-16T19:27:58.902Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/07/16/3"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "packageName": "HTML-Bare",
          "product": "HTML::Bare",
          "programFiles": [
            "parser.c"
          ],
          "programRoutines": [
            {
              "name": "parserc_parse"
            }
          ],
          "repo": "https://github.com/nanoscopic/perl-HTML-Bare",
          "vendor": "CODECHILD",
          "versions": [
            {
              "lessThanOrEqual": "0.04",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead.\n\nThe parserc_parse function attempts to check for multicharacter strings such as \"\u003c![CDATA\" or element terminators such as \"\u003e\" without checking that the offsets are within the buffer.\n\nTruncated strings such as \"\u003ca/\" can trigger an out-of-bounds read.\n\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-540",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-540 Overread Buffers"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-125",
              "description": "CWE-125 Out-of-bounds Read",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-16T16:15:16.551Z",
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec"
      },
      "references": [
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://github.com/nanoscopic/perl-HTML-Bare/pull/2"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead",
      "workarounds": [
        {
          "lang": "en",
          "value": "Apply the patch to version 0.02 (from CPAN) or version 0.04 (from the git repository)."
        }
      ],
      "x_generator": {
        "engine": "cpansec-cna-tool 0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "cveId": "CVE-2026-57073",
    "datePublished": "2026-07-16T16:15:16.551Z",
    "dateReserved": "2026-06-23T17:59:40.467Z",
    "dateUpdated": "2026-07-16T19:27:58.902Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-57073\",\"sourceIdentifier\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"published\":\"2026-07-16T17:16:58.117\",\"lastModified\":\"2026-07-16T20:16:45.713\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"HTML::Bare versions through 0.04 for Perl have an unbounded character lookahead.\\n\\nThe parserc_parse function attempts to check for multicharacter strings such as \\\"\u003c![CDATA\\\" or element terminators such as \\\"\u003e\\\" without checking that the offsets are within the buffer.\\n\\nTruncated strings such as \\\"\u003ca/\\\" can trigger an out-of-bounds read.\\n\\nNote that the latest version available on CPAN is version 0.02. Newer versions are available on the git repository.\"}],\"affected\":[{\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"affectedData\":[{\"vendor\":\"CODECHILD\",\"product\":\"HTML::Bare\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://cpan.org/modules\",\"packageName\":\"HTML-Bare\",\"programFiles\":[\"parser.c\"],\"programRoutines\":[{\"name\":\"parserc_parse\"}],\"repo\":\"https://github.com/nanoscopic/perl-HTML-Bare\",\"versions\":[{\"version\":\"0\",\"lessThanOrEqual\":\"0.04\",\"versionType\":\"custom\",\"status\":\"affected\"}]}]}],\"metrics\":{},\"weaknesses\":[{\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-125\"}]}],\"references\":[{\"url\":\"https://github.com/nanoscopic/perl-HTML-Bare/pull/2\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://security.metacpan.org/patches/H/HTML-Bare/0.02/CVE-2026-57073-r1.patch\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://security.metacpan.org/patches/H/HTML-Bare/0.04/CVE-2026-57073-r2.patch\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/07/16/3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}



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…