{
  "id": "CVE-2026-8829",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-8829",
  "published_at": "2026-06-04T02:03:46.702Z",
  "title": "HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities",
  "vendor": "OALDERS",
  "product": "HTML::Entities",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities.\n\nThe XS routine backing HTML::Entities::_decode_entities cached a pointer (repl) into the entity-value SV returned by hv_fetch on the entity2char hash. When the input SV was identical to a value SV in that hash, and that value contained its own key as an entity reference, a later call to grow_gap() reallocated the SV's PV buffer and freed the backing allocation that repl still pointed into. The subsequent copy loop read repl_len bytes from the freed allocation.\n\nThe read may disclose adjacent heap contents into the destination SV.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:oalders:html\\:\\:entities:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OALDERS",
        "product": "HTML::Entities",
        "ranges": [
          "\u003c 3.84"
        ],
        "fixed_in": [
          "3.84"
        ]
      }
    ],
    "solutions": [
      "Upgrade to HTML-Parser 3.84 or later."
    ],
    "upgrade": [
      "Upgrade HTML::Entities to 3.84 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/libwww-perl/HTML-Parser/pull/56"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/libwww-perl/HTML-Parser/commit/6922552b0778c90a9587a3894e248be4d3a25e1c.patch"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
