CVE-2026-4177 affecting package perl-YAML 1.30-2
YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter. The heap overflow occurs when class names exceed the initial 512-byte allocation. The base64 decoder could read past the buffer end on trailing newlines. strtok mutated n->type_id in place, corrupting shared node data. A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.
- Products
- perl-YAML
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-4177
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:25 UTC · Revision 1
Source evidence
CVE-2026-4177 affecting package perl-YAML 1.30-2
core-osv · Original sourcePublished 16 Mar 2026, 23:16 UTC
YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter. The heap overflow occurs when class names exceed the initial 512-byte allocation. The base64 decoder could read past the buffer end on trailing newlines. strtok mutated n->type_id in place, corrupting shared node data. A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.
osv:AZL-109508
perl-YAML
Fixed versions: Not specified
Complete source record
{
"id": "1c4ce7c19905e1547a064bb272b22f4ce6f80347dde0ebbde9160e8d32905170",
"url": "https://osv.dev/vulnerability/AZL-109508",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-4177 affecting package perl-YAML 1.30-2",
"summary": "YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter. The heap overflow occurs when class names exceed the initial 512-byte allocation. The base64 decoder could read past the buffer end on trailing newlines. strtok mutated n->type_id in place, corrupting shared node data. A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.",
"evidence": "osv:AZL-109508",
"products": [
{
"name": {
"value": "perl-YAML",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "AZL-109508",
"aliases": [
"AZL-109508"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.30-2"
}
]
}
],
"package": {
"name": "perl-YAML",
"purl": "pkg:rpm/azure-linux/perl-YAML",
"ecosystem": "Azure Linux:3"
},
"database_specific": {
"source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-109508.json"
}
}
],
"modified": "2026-10-27T05:36:16Z",
"provider": "osv",
"upstream": [
"CVE-2026-4177"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2026-4177"
]
},
"related_cves": [
{
"value": "CVE-2026-4177",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 460464,
"published_at": "2026-03-16T23:16:21+00:00"
}