FreeBSD Ports: libxine

ID OPENVAS:136141256231064000
Type openvas
Reporter Copyright (c) 2009 E-Soft Inc.
Modified 2018-04-06T00:00:00


The remote host is missing an update to the system as announced in the referenced advisory.

#VID 51d1d428-42f0-11de-ad22-000e35248ad7
# OpenVAS Vulnerability Test
# $
# Description: Auto generated from VID 51d1d428-42f0-11de-ad22-000e35248ad7
# Authors:
# Thomas Reinke <>
# Copyright:
# Copyright (c) 2009 E-Soft Inc.
# Text descriptions are largely excerpted from the referenced
# advisories, and are Copyright (c) the respective author(s)
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

tag_insight = "The following package is affected: libxine

Integer overflow in the 4xm demuxer (demuxers/demux_4xm.c) in xine-lib allows remote attackers to cause a denial of service (crash)
and possibly execute arbitrary code via a 4X movie file with a large
current_track value, a similar issue to CVE-2009-0385.

Multiple heap-based buffer overflows in xine-lib 1.1.12, and other
versions before 1.1.15, allow remote attackers to execute arbitrary
code via vectors related to (1) a crafted metadata atom size processed
by the parse_moov_atom function in demux_qt.c and (2) frame reading in
the id3v23_interp_frame function in id3.c.  NOTE: as of 20081122, it is
possible that vector 1 has not been fixed in 1.1.15.

xine-lib 1.1.12, and other 1.1.15 and earlier versions, relies on an
untrusted input value to determine the memory allocation and does not
check the result for (1) the MATROSKA_ID_TR_CODECPRIVATE track entry
element processed by demux_matroska.c; and (2) PROP_TAG, (3) MDPR_TAG,
and (4) CONT_TAG chunks processed by the real_parse_headers function
in demux_real.c; which allows remote attackers to cause a denial of
service (NULL pointer dereference and crash) or possibly execute
arbitrary code via a crafted value.";
tag_solution = "Update your system with the appropriate patches or
software upgrades.";
tag_summary = "The remote host is missing an update to the system
as announced in the referenced advisory.";

 script_version("$Revision: 9350 $");
 script_tag(name:"last_modification", value:"$Date: 2018-04-06 09:03:33 +0200 (Fri, 06 Apr 2018) $");
 script_tag(name:"creation_date", value:"2009-05-20 00:17:15 +0200 (Wed, 20 May 2009)");
 script_cve_id("CVE-2009-0698", "CVE-2008-5234", "CVE-2008-5240");
 script_tag(name:"cvss_base", value:"9.3");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
 script_name("FreeBSD Ports: libxine");


 script_copyright("Copyright (c) 2009 E-Soft Inc.");
 script_family("FreeBSD Local Security Checks");
 script_mandatory_keys("ssh/login/freebsdrel", "login/SSH/success");
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 script_tag(name:"qod_type", value:"package");
 script_tag(name:"solution_type", value:"VendorFix");

# The script code starts here


txt = "";
vuln = 0;
bver = portver(pkg:"libxine");
if(!isnull(bver) && revcomp(a:bver, b:"")<0) {
    txt += 'Package libxine version ' + bver + ' is installed which is known to be vulnerable.\n';
    vuln = 1;

if(vuln) {
} else if (__pkg_match) {
    exit(99); # Not vulnerable.