UBUNTU-CVE-2024-56406

Source
https://ubuntu.com/security/CVE-2024-56406
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56406.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-56406
Related
Published
2025-04-13T13:00:00Z
Modified
2025-04-17T04:34:55Z
Summary
[none]
Details

A heap buffer overflow vulnerability was discovered in Perl. Release branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10. When there are non-ASCII bytes in the left-hand-side of the tr operator, S_do_trans_invmap can overflow the destination pointer d.    $ perl -e '$_ = "\x{FF}" x 1000000; tr/\xFF/\x{100}/;'    Segmentation fault (core dumped) It is believed that this vulnerability can enable Denial of Service and possibly Code Execution attacks on platforms that lack sufficient defenses.

References

Affected packages

Ubuntu:22.04:LTS / perl

Package

Name
perl
Purl
pkg:deb/ubuntu/perl@5.34.0-3ubuntu1.4?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.34.0-3ubuntu1.4

Affected versions

5.*

5.32.1-3ubuntu3
5.34.0-3ubuntu1
5.34.0-3ubuntu1.1
5.34.0-3ubuntu1.2
5.34.0-3ubuntu1.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "libperl-dev"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "libperl5.34"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "perl"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "perl-base"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "perl-debug"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "perl-doc"
        },
        {
            "binary_version": "5.34.0-3ubuntu1.4",
            "binary_name": "perl-modules-5.34"
        }
    ]
}

Ubuntu:24.10 / perl

Package

Name
perl
Purl
pkg:deb/ubuntu/perl@5.38.2-5ubuntu0.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.38.2-5ubuntu0.1

Affected versions

5.*

5.38.2-3.2build2
5.38.2-4
5.38.2-5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "libperl-dev"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "libperl5.38t64"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "perl"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "perl-base"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "perl-debug"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "perl-doc"
        },
        {
            "binary_version": "5.38.2-5ubuntu0.1",
            "binary_name": "perl-modules-5.38"
        }
    ]
}

Ubuntu:24.04:LTS / perl

Package

Name
perl
Purl
pkg:deb/ubuntu/perl@5.38.2-3.2ubuntu0.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.38.2-3.2ubuntu0.1

Affected versions

5.*

5.36.0-9ubuntu1
5.36.0-10ubuntu1
5.38.2-3
5.38.2-3.2
5.38.2-3.2build1
5.38.2-3.2build2
5.38.2-3.2build2.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "libperl-dev"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "libperl5.38t64"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "perl"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "perl-base"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "perl-debug"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "perl-doc"
        },
        {
            "binary_version": "5.38.2-3.2ubuntu0.1",
            "binary_name": "perl-modules-5.38"
        }
    ]
}