Skip to content
Heist/ feed
Back to feed
Medium

upx-ucl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-2849

A vulnerability, which was classified as problematic, was found in UPX up to 5.0.0. Affected is the function PackLinuxElf64::un_DT_INIT of the file src/p_lx_elf.cpp. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2. It is recommended to apply a patch to fix this issue.

Products
upx-ucl
Affected versions
3.91-1, 3.94-2, 3.94-3, 3.94-4, 3.95-2, 3.95-2build1, 3.96-2, 3.96-3, 4.2.2-3, 4.2.4-1, 4.2.4-1.1, 4.2.4-1.1build1
Fixed versions
Not specified
CVEs
CVE-2025-2849
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:26 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-2849

core-osv · Original source

Published 27 Mar 2025, 14:15 UTC

A vulnerability, which was classified as problematic, was found in UPX up to 5.0.0. Affected is the function PackLinuxElf64::un_DT_INIT of the file src/p_lx_elf.cpp. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2. It is recommended to apply a patch to fix this issue.

osv:UBUNTU-CVE-2025-2849

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

upx-ucl

Fixed versions: Not specified

Complete source record
{
  "id": "b404826baad398228190e7f2dfdcf64871f02001cfb7d1e4597db4df7974a30f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-2849",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-2849",
    "summary": "A vulnerability, which was classified as problematic, was found in UPX up to 5.0.0. Affected is the function PackLinuxElf64::un_DT_INIT of the file src/p_lx_elf.cpp. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2. It is recommended to apply a patch to fix this issue.",
    "evidence": "osv:UBUNTU-CVE-2025-2849",
    "products": [
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.91-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.94-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.94-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.94-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.95-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.95-2build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.96-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.96-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.96-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4.2.2-3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.4-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4.2.4-1.1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.4-1.1build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "upx-ucl",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.4-1.1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4.2.4-1.1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-2849",
      "aliases": [
        "UBUNTU-CVE-2025-2849"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "3.91-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "3.91-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.94-2",
            "3.94-3",
            "3.94-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "3.94-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.95-2",
            "3.95-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "3.95-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.96-2",
            "3.96-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "3.96-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.96-3",
            "4.2.2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "4.2.2-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.2.4-1",
            "4.2.4-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "4.2.4-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.2.4-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "4.2.4-1.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "upx-ucl",
            "purl": "pkg:deb/ubuntu/upx-ucl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.2.4-1.1",
            "4.2.4-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "upx-ucl",
                "binary_version": "4.2.4-1.1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:49.758723408Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-2849"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-2849",
        "https://www.cve.org/CVERecord?id=CVE-2025-2849",
        "https://github.com/upx/upx/issues/898",
        "https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2",
        "https://github.com/upx/upx/issues/898#issuecomment-2734082143",
        "https://github.com/user-attachments/files/19307868/input.zip",
        "https://vuldb.com/?ctiid.301494",
        "https://vuldb.com/?id.301494",
        "https://vuldb.com/?submit.522371"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-2849",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 356413,
  "published_at": "2025-03-27T14:15:00+00:00"
}