Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2026-4020

Active Important

ALAS2-2026-4020 (important): ant

Published
24 Oct 2026
Updated
26 Oct 2026

Related CVEs

CVE identifiers linked by this publisher.

1
Publisher relationship details 1 records
Explicit publisher CVE relationships
CVERelationshipPublisher CVE fieldPublisher evidence
CVE-2026-78254Listed by advisory
Exact relationship valueadvisory_list
Publisher references
Exact field valuereferences
https://alas.aws.amazon.com/AL2/ALAS2-2026-4020.html

Description

The ftp and scp tasks of Apache Ant can download files from a remote server. A malicious server can provide relative paths that allow it to write outside of the dedicated target directory for the download, making it possible to overwrite files of the attacker's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18. In order

Read full publisher description 1252 characters

The ftp and scp tasks of Apache Ant can download files from a remote server. A malicious server can provide relative paths that allow it to write outside of the dedicated target directory for the download, making it possible to overwrite files of the attacker's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18. In order to exploit this vulnerability, the server would either have to be malicious or be subject to a machine-in-the-middle attack. Additionally in the case of scp or the ftp task using ftps the server must pass the server identity checks performed by the tasks. For ftp tasks not using ftps a malicious server could act as a machine-in-the-middle to provide malicious files. Starting with Ant 1.10.18 both tasks will prevent writing outside of the destination directory by default. An option is available to disable this behavior in the unlikely case that the old behavior is required by existing build files. Mitigations: Users of scp and ftp (when using ftps) in any version of Ant should not bypass server identity checks. Users of ftp not using ftps should switch to ftps where possible. All users are recommended to upgrade to Apache Ant 1.10.18, which fixes this issue. (CVE-2026-78254)

Solution

Run yum update ant or yum update --advisory ALAS2-2026-4020 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

2

Shared package data

Applies to all 2 occurrences
  1. 1ant

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • ant-1.9.16-1.amzn2.0.2.noarch
    • ant-jmf-1.9.16-1.amzn2.0.2.noarch
    • ant-swing-1.9.16-1.amzn2.0.2.noarch
    • ant-antlr-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-bsf-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-resolver-1.9.16-1.amzn2.0.2.noarch
    • ant-commons-logging-1.9.16-1.amzn2.0.2.noarch
    • ant-commons-net-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-bcel-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-log4j-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-oro-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-regexp-1.9.16-1.amzn2.0.2.noarch
    • ant-apache-xalan2-1.9.16-1.amzn2.0.2.noarch
    • ant-javamail-1.9.16-1.amzn2.0.2.noarch
    • ant-jdepend-1.9.16-1.amzn2.0.2.noarch
    • ant-jsch-1.9.16-1.amzn2.0.2.noarch
    • ant-junit-1.9.16-1.amzn2.0.2.noarch
    • ant-testutil-1.9.16-1.amzn2.0.2.noarch
    • ant-manual-1.9.16-1.amzn2.0.2.noarch
    • ant-javadoc-1.9.16-1.amzn2.0.2.noarch
  2. 2ant

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ant-1.9.16-1.amzn2.0.2.src

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

2
  • CVE-2026-78254 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-78254
  • CVE-2026-78254 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78254

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2026-4020.htmlUnknown86e0af4f469b4c0ac10e91c0e881a3fb393cb6ed59790b595ef4aab257fb42a1amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-4020.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-4020.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected