HighFix available
perl, perl6 and 1 more products — security advisory
A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.
- Products
- perl, perl6, raku
- Affected versions
- 5.28.1-6build1, 5.30.0-7, 5.30.0-9, 5.30.0-9build1, 5.30.0-9ubuntu0.2, 5.30.0-9ubuntu0.3, 5.30.0-9ubuntu0.4, 5.32.1-3ubuntu3, 5.34.0-3ubuntu1, 5.34.0-3ubuntu1.1, 5.34.0-3ubuntu1.2, 5.36.0-9ubuntu1, 6.c-1, 6.d-2, 6.d.7, 6.d.7build1
- Fixed versions
- 5.30.0-9ubuntu0.5, 5.34.0-3ubuntu1.3, 5.36.0-10ubuntu1
- CVEs
- CVE-2023-47038
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:43 UTC · Revision 1
Source evidence
A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.
osv:UBUNTU-CVE-2023-47038
perl6
Fixed versions: Not specified
perl
Fixed versions: 5.30.0-9ubuntu0.5
perl6
Fixed versions: Not specified
perl
Fixed versions: 5.34.0-3ubuntu1.3
perl
Fixed versions: 5.36.0-10ubuntu1
raku
Fixed versions: Not specified
raku
Fixed versions: Not specified
raku
Fixed versions: Not specified
raku
Fixed versions: Not specified
Complete source record
{
"id": "0f800a1ee2a7d4a120817d8500701dca403eca67656ee8c6b5df60be0f93b0d9",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-47038",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2023-47038",
"summary": "A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.",
"evidence": "osv:UBUNTU-CVE-2023-47038",
"products": [
{
"name": {
"value": "perl6",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.c-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.30.0-9ubuntu0.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "5.28.1-6build1",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-7",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-9",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-9build1",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-9ubuntu0.2",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-9ubuntu0.3",
"evidence": "/affected/1/versions"
},
{
"value": "5.30.0-9ubuntu0.4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "perl6",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.d-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.34.0-3ubuntu1.3",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "5.32.1-3ubuntu3",
"evidence": "/affected/3/versions"
},
{
"value": "5.34.0-3ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "5.34.0-3ubuntu1.1",
"evidence": "/affected/3/versions"
},
{
"value": "5.34.0-3ubuntu1.2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "perl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.36.0-10ubuntu1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "5.36.0-9ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "raku",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.d.7",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "raku",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.d.7",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "raku",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.d.7build1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "raku",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.d.7",
"evidence": "/affected/8/versions"
},
{
"value": "6.d.7build1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2023-47038",
"aliases": [
"UBUNTU-CVE-2023-47038"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "perl6",
"purl": "pkg:deb/ubuntu/perl6?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"6.c-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "perl6",
"binary_version": "6.c-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.30.0-9ubuntu0.5"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/ubuntu/perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"5.28.1-6build1",
"5.30.0-7",
"5.30.0-9",
"5.30.0-9build1",
"5.30.0-9ubuntu0.2",
"5.30.0-9ubuntu0.3",
"5.30.0-9ubuntu0.4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libperl5.30",
"binary_version": "5.30.0-9ubuntu0.5"
},
{
"binary_name": "perl",
"binary_version": "5.30.0-9ubuntu0.5"
},
{
"binary_name": "perl-base",
"binary_version": "5.30.0-9ubuntu0.5"
},
{
"binary_name": "perl-debug",
"binary_version": "5.30.0-9ubuntu0.5"
},
{
"binary_name": "perl-modules-5.30",
"binary_version": "5.30.0-9ubuntu0.5"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "perl6",
"purl": "pkg:deb/ubuntu/perl6?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.d-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "perl6",
"binary_version": "6.d-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.34.0-3ubuntu1.3"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/ubuntu/perl?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"5.32.1-3ubuntu3",
"5.34.0-3ubuntu1",
"5.34.0-3ubuntu1.1",
"5.34.0-3ubuntu1.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libperl5.34",
"binary_version": "5.34.0-3ubuntu1.3"
},
{
"binary_name": "perl",
"binary_version": "5.34.0-3ubuntu1.3"
},
{
"binary_name": "perl-base",
"binary_version": "5.34.0-3ubuntu1.3"
},
{
"binary_name": "perl-debug",
"binary_version": "5.34.0-3ubuntu1.3"
},
{
"binary_name": "perl-modules-5.34",
"binary_version": "5.34.0-3ubuntu1.3"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.36.0-10ubuntu1"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:deb/ubuntu/perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"5.36.0-9ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libperl5.36",
"binary_version": "5.36.0-10ubuntu1"
},
{
"binary_name": "perl",
"binary_version": "5.36.0-10ubuntu1"
},
{
"binary_name": "perl-base",
"binary_version": "5.36.0-10ubuntu1"
},
{
"binary_name": "perl-debug",
"binary_version": "5.36.0-10ubuntu1"
},
{
"binary_name": "perl-modules-5.36",
"binary_version": "5.36.0-10ubuntu1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "raku",
"purl": "pkg:deb/ubuntu/raku?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.d.7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "raku",
"binary_version": "6.d.7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "raku",
"purl": "pkg:deb/ubuntu/raku?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"6.d.7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "raku",
"binary_version": "6.d.7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "raku",
"purl": "pkg:deb/ubuntu/raku?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"6.d.7build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "raku",
"binary_version": "6.d.7build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "raku",
"purl": "pkg:deb/ubuntu/raku?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"6.d.7",
"6.d.7build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-47038.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "raku",
"binary_version": "6.d.7build1"
}
]
}
}
],
"modified": "2026-10-17T12:57:21.633547539Z",
"provider": "osv",
"upstream": [
"CVE-2023-47038"
],
"references": [
"https://ubuntu.com/security/CVE-2023-47038",
"https://ubuntu.com/security/notices/USN-6517-1",
"https://www.cve.org/CVERecord?id=CVE-2023-47038"
]
},
"related_cves": [
{
"value": "CVE-2023-47038",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 357313,
"published_at": "2023-11-25T17:00:00+00:00"
}