HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| OALDERS | HTML::Entities | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Oalders | Html::entities |
|
Vendor Solution
Upgrade to HTML-Parser 3.84 or later.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4655-1 | libhtml-parser-perl security update |
Ubuntu USN |
USN-8587-1 | HTML-Parser vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.408% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Oalders html\
|
|
| CPEs | cpe:2.3:a:oalders:html\:\:entities:*:*:*:*:*:perl:*:* | |
| Vendors & Products |
Oalders html\
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Oalders
Oalders html::entities |
|
| Vendors & Products |
Oalders
Oalders html::entities |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities. The 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. The read may disclose adjacent heap contents into the destination SV. | |
| Title | HTML::Entities versions before 3.84 for Perl read freed heap memory in _decode_entities | |
| Weaknesses | CWE-416 | |
| References |
|