messages listlengths 3 3 | metadata dict |
|---|---|
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse a simple LDAP filter expression into a parse tree.\n *\n * Parses an LDAP-style filter string pointed to... | {
"cve": "CVE-2019-3824",
"cve_desc": "A flaw was found in the way an LDAP search expression could crash the shared LDAP server process of a samba AD DC in samba before version 4.10. An authenticated user, having read permissions on the LDAP server, could use this flaw to cause denial of service.",
"cwe": "['CWE-... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process keyword-only arguments in a Python function definition AST node.\n *\n * Parses and processes keyword-... | {
"cve": "CVE-2019-19275",
"cve_desc": "typed_ast 1.3.0 and 1.3.1 has an ast_for_arguments out-of-bounds read. An attacker with the ability to cause a Python interpreter to parse Python source (but not necessarily execute it) may be able to crash the interpreter process. This could be a concern, for example, in a w... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Query video adaptor information for a specified window.\n *\n * Retrieves the number of available X Video exte... | {
"cve": "CVE-2016-5407",
"cve_desc": "The (1) XvQueryAdaptors and (2) XvQueryEncodings functions in X.org libXv before 1.0.11 allow remote X servers to trigger out-of-bounds memory access operations via vectors involving length specifications in received data.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "75... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Encode JP2 header box with optional ICC profile embedding.\n *\n * Processes JP2 box headers from the input bu... | {
"cve": "CVE-2021-29470",
"cve_desc": "Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a cr... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse a PNG text chunk and extract its text content.\n *\n * Handles three types of PNG text chunks: zTXt (com... | {
"cve": "CVE-2018-16336",
"cve_desc": "Exiv2::Internal::PngChunk::parseTXTChunk in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, a different vulnerability than CVE-2018-10999.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0eb16e8c-99a... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print a decoded EIGRP packet.\n *\n * Decodes and prints an EIGRP packet including its header and TLV structur... | {
"cve": "CVE-2017-12901",
"cve_desc": "The EIGRP parser in tcpdump before 4.9.2 has a buffer over-read in print-eigrp.c:eigrp_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "547fd1b7-21be-439a-9d3c-479acb5414dc"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Resizes output tensors by splitting the input tensor along the specified axis.\n *\n * This function takes an ... | {
"cve": "CVE-2021-29606",
"cve_desc": "TensorFlow is an end-to-end open source platform for machine learning. A specially crafted TFLite model could trigger an OOB read on heap in the TFLite implementation of `Split_V`(https://github.com/tensorflow/tensorflow/blob/c59c37e7b2d563967da813fa50fe20b21f4da683/tensorflo... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process a keypress notification event in the SMP protocol.\n *\n * Handles incoming keypress notification data... | {
"cve": "CVE-2018-9508",
"cve_desc": "In smp_process_keypress_notification of smp_act.cc, there is a possible out of bounds read due to an incorrect bounds check. This could lead to remote information disclosure over Bluetooth with no additional execution privileges needed. User interaction is not needed for explo... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and parse a RAR archive file header.\n *\n * Parses the header of a file entry in a RAR archive, extracti... | {
"cve": "CVE-2017-14502",
"cve_desc": "read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "eb62a971-1432-4... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse an RTCP BYE packet and extract the optional reason string.\n *\n * Processes an incoming RTCP BYE packet... | {
"cve": "CVE-2021-43804",
"cve_desc": "PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In affected versions if the incoming RTCP BYE message contains a reason's length, this declared length is n... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and decode a SUN raster image file.\n *\n * Parses SUN raster file format (magic number 0x59a66a95) and c... | {
"cve": "CVE-2018-11251",
"cve_desc": "In ImageMagick 7.0.7-23 Q16 x86_64 2018-01-24, there is a heap-based buffer over-read in ReadSUNImage in coders/sun.c, which allows attackers to cause a denial of service (application crash in SetGrayscaleImage in MagickCore/quantize.c) via a crafted SUN image file.",
"cwe"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print or process a pktap interface record.\n *\n * Handles pktap packet header information and dispatches to a... | {
"cve": "CVE-2017-13007",
"cve_desc": "The Apple PKTAP parser in tcpdump before 4.9.2 has a buffer over-read in print-pktap.c:pktap_if_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "7af25d47-8649-47ac-8acb-bad8ddb7b469"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and parse a TGA image file into an oTga structure.\n *\n * This function reads a TGA (Truevision TGA) ima... | {
"cve": "CVE-2016-6905",
"cve_desc": "The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.3 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA image.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "7895fb1a-4390-453a-b8cc-17d1ad9e5f... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Construct an AP4_HdlrAtom handler atom by reading from a byte stream.\n *\n * Initializes the handler atom by ... | {
"cve": "CVE-2017-14643",
"cve_desc": "The AP4_HdlrAtom class in Core/Ap4HdlrAtom.cpp in Bento4 version 1.5.0-617 uses an incorrect character data type, leading to a heap-based buffer over-read and application crash in AP4_BytesToUInt32BE in Core/Ap4Utils.h.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "da72... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Reads and processes audio frames from an input stream.\n *\n * This function reads up to frames_num frames fro... | {
"cve": "CVE-2017-0812",
"cve_desc": "An elevation of privilege vulnerability in the Android media framework (audio hal). Product: Android. Versions: 7.0, 7.1.1, 7.1.2, 8.0. Android ID: A-62873231.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "028f6213-7ebb-4dcd-b05d-3c907a51ceff"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Retrieves configuration data from an HSO USB device and determines the port type.\n *\n * Sends a USB control ... | {
"cve": "CVE-2018-19985",
"cve_desc": "The function hso_get_config_data in drivers/net/usb/hso.c in the Linux kernel through 4.19.8 reads if_num from the USB device (as a u8) and uses it to index a small array, resulting in an object out-of-bounds (OOB) read that potentially allows arbitrary read in the kernel add... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Skip through a planar RLE-encoded data buffer.\n *\n * Processes RLE-encoded plane data by iterating through e... | {
"cve": "CVE-2020-11521",
"cve_desc": "libfreerdp/codec/planar.c in FreeRDP version > 1.0 through 2.0.0-rc4 has an Out-of-bounds Write.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "7895cefb-74af-4453-bc6d-d37fe134df48"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decodes PCX format image data from a byte buffer using run-length encoding.\n *\n * Processes PCX encoded data... | {
"cve": "CVE-2020-10378",
"cve_desc": "In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0c02717f-17e8-4f2a-8a88-468579f16058"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse a DNS A record reply and populate a hostent structure.\n *\n * Parses the DNS response buffer to extract... | {
"cve": "CVE-2017-9454",
"cve_desc": "Buffer overflow in the ares_parse_a_reply function in the embedded ares library in ReSIProcate before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds-read) via a crafted DNS response.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "adf59dec-9917-... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Load the kerning table from a TrueType font stream.\n *\n * Parses the kerning table from the font file and po... | {
"cve": "CVE-2014-9658",
"cve_desc": "The tt_face_load_kern function in sfnt/ttkern.c in FreeType before 2.5.4 enforces an incorrect minimum table length, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted TrueType font.",
"cwe"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Evaluate a TensorFlow Lite operation for the given input types.\n *\n * Dispatches to the appropriate kernel i... | {
"cve": "CVE-2021-29590",
"cve_desc": "TensorFlow is an end-to-end open source platform for machine learning. The implementations of the `Minimum` and `Maximum` TFLite operators can be used to read data outside of bounds of heap allocated objects, if any of the two input tensor arguments are empty. This is because... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print FRF.16 (Frame Relay) protocol data including control frames and fragmentation frames.\n *\n * This funct... | {
"cve": "CVE-2018-14468",
"cve_desc": "The FRF.16 parser in tcpdump before 4.9.3 has a buffer over-read in print-fr.c:mfr_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0d7b3b85-9b0f-4903-bd9a-8ec790623a81"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read from a file descriptor in an untrusted context.\n *\n * This function reads up to `count` bytes from the ... | {
"cve": "CVE-2020-8942",
"cve_desc": "An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_read whose return size was not validated against the requrested size. The parameter size is unchecked allowing the attacker to read memory location... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decodes a specific bit field from a 64-bit value into a formatted string representation.\n *\n * Extracts no_o... | {
"cve": "CVE-2020-26421",
"cve_desc": "Crash in USB HID protocol dissector and possibly other dissectors in Wireshark 3.4.0 and 3.2.0 to 3.2.8 allows denial of service via packet injection or crafted capture file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "5db13a25-b11d-4597-b2a3-d49c45016aac"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Look up or create a schema ID in the repository data.\n *\n * Searches for an existing schema in the repositor... | {
"cve": "CVE-2019-20387",
"cve_desc": "repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a last schema whose length is less than the length of the input schema.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "c3213aa7-0f96-44f3-b062-4d361ccdde1b"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Write a PICON (Personal Icon) image in XPM format.\n *\n * Converts an image to a small 48x48 pixel icon using... | {
"cve": "CVE-2022-0284",
"cve_desc": "A heap-based-buffer-over-read flaw was found in ImageMagick's GetPixelAlpha() function of 'pixel-accessor.h'. This vulnerability is triggered when an attacker passes a specially crafted Tagged Image File Format (TIFF) image to convert it into a PICON file format. This issue ca... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Continue token scanning operation in the PostScript interpreter.\n *\n * Processes tokens from the scanner sta... | {
"cve": "CVE-2017-11714",
"cve_desc": "psi/ztoken.c in Artifex Ghostscript 9.21 mishandles references to the scanner state structure, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-boun... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Compute the sparse count operation for the given input tensors.\n *\n * This function processes the input indi... | {
"cve": "CVE-2021-29521",
"cve_desc": "TensorFlow is an end-to-end open source platform for machine learning. Specifying a negative dense shape in `tf.raw_ops.SparseCountSparseOutput` results in a segmentation fault being thrown out from the standard library as `std::vector` invariants are broken. This is because ... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle a runtime error in the Lua state.\n *\n * Attempts to invoke a registered error handler function when a... | {
"cve": "CVE-2020-24372",
"cve_desc": "LuaJIT through 2.1.0-beta3 has an out-of-bounds read in lj_err_run in lj_err.c.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "deda7d34-3926-4c92-b806-076149849c0b"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and decode an X Window Dump (XWD) image file.\n *\n * Parses XWD format headers, validates file structure... | {
"cve": "CVE-2019-15139",
"cve_desc": "The XWD image (X Window System window dumping file) parsing component in ImageMagick 7.0.8-41 Q16 allows attackers to cause a denial-of-service (application crash resulting from an out-of-bounds Read) in ReadXWDImage in coders/xwd.c by crafting a corrupted XWD image file, a d... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle the STS (Store Direct to SRAM) instruction.\n *\n * Decodes the STS instruction which stores the value ... | {
"cve": "CVE-2018-11382",
"cve_desc": "The _inst__sts() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted binary file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "7766ea48-110a-4f40-a34f-a0eed4bfd213"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read a SUN raster image file and return an Image structure.\n *\n * Parses SUN raster format files by reading ... | {
"cve": "CVE-2017-6500",
"cve_desc": "An issue was discovered in ImageMagick 6.9.7. A specially crafted sun file triggers a heap-based buffer over-read.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "3e53fbc3-60a0-46d9-b01a-9b8b57ae9c52"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and display ELF file header, section, program, and dynamic information.\n *\n * Opens the specified ELF ... | {
"cve": "CVE-2022-21711",
"cve_desc": "elfspirit is an ELF static analysis and injection framework that parses, manipulates, and camouflages ELF files. When analyzing the ELF file format in versions prior to 1.1, there is an out-of-bounds read bug, which can lead to application crashes or information leakage. By c... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle the SBRC/SBRS skip instruction for AVR architecture.\n *\n * Analyzes the Skip if Bit in Register is Cl... | {
"cve": "CVE-2018-11377",
"cve_desc": "The avr_op_analyze() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted binary file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "19db8443-7229-46ba-a695-5e515a90db02"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Store function for the UDC descriptor attribute.\n *\n * Sets or clears the USB Device Controller (UDC) name f... | {
"cve": "CVE-2020-13143",
"cve_desc": "gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the possibility of an internal '\\0' value, which allows attackers to trigger an out-of-bounds read, aka CID-15753588bcd4.",
"cwe": "['CW... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Receive extended attributes from a file stream and associate them with a file.\n *\n * Reads xattr entries fro... | {
"cve": "CVE-2017-16548",
"cve_desc": "The receive_xattr function in xattrs.c in rsync 3.1.2 and 3.1.3-development does not check for a trailing '\\0' character in an xattr name, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecif... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Creates a new GstDateTime from an ISO 8601 formatted string.\n *\n * Parses the input string to extract year, ... | {
"cve": "CVE-2017-5838",
"cve_desc": "The gst_date_time_new_from_iso8601_string function in gst/gstdatetime.c in GStreamer before 1.10.3 allows remote attackers to cause a denial of service (out-of-bounds heap read) via a malformed datetime string.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "dc5af14a-03bf-... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decodes a Base64 encoded string into raw bytes.\n *\n * Converts a Base64 formatted input string into its bina... | {
"cve": "CVE-2020-12783",
"cve_desc": "Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass in auths/spa.c and auths/auth-spa.c.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "f2a6e026-44a6-4b4c-b7e2-9225fd189669"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and validate a Font Capability Set from an RDP stream.\n *\n * Reads the Font Capability Set structure f... | {
"cve": "CVE-2020-11058",
"cve_desc": "In FreeRDP after 1.1 and before 2.0.0, a stream out-of-bounds seek in rdp_read_font_capability_set could lead to a later out-of-bounds read. As a result, a manipulated client or server might force a disconnect due to an invalid data read. This has been fixed in 2.0.0.",
"cw... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process IFD data within EXIF maker note section.\n *\n * Locates and processes the Image File Directory (IFD) ... | {
"cve": "CVE-2018-14851",
"cve_desc": "exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG file.",
"cwe": "['CWE-1... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read implementation for the output file stream.\n *\n * This method is not supported for php://output streams ... | {
"cve": "CVE-2019-3557",
"cve_desc": "The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently. This behavior caused some stream functions, such as stream_get_line, to trigger an out-of-bounds read when operating on such malformed streams. T... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Validates a TrueType cmap table in format 8.\n *\n * This function performs structural and content validation ... | {
"cve": "CVE-2014-9669",
"cve_desc": "Multiple integer overflows in sfnt/ttcmap.c in FreeType before 2.5.4 allow remote attackers to cause a denial of service (out-of-bounds read or memory corruption) or possibly have unspecified other impact via a crafted cmap SFNT table.",
"cwe": "['CWE-125']",
"target": 0,
... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Sets the input capabilities for the AAC parser element.\n *\n * Parses the \"codec_data\" field from the input... | {
"cve": "CVE-2016-10198",
"cve_desc": "The gst_aac_parse_sink_setcaps function in gst/audioparsers/gstaacparse.c in gst-plugins-good in GStreamer before 1.10.3 allows remote attackers to cause a denial of service (invalid memory read and crash) via a crafted audio file.",
"cwe": "['CWE-125']",
"target": 0,
"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Switch execution to a different fiber context.\n *\n * Transfers control to the specified fiber by switching t... | {
"cve": "CVE-2018-12248",
"cve_desc": "An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "530ddc83-3dfa-403... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process a netfilter netlink batch for a given subsystem.\n *\n * This function processes a batch of netlink me... | {
"cve": "CVE-2016-7917",
"cve_desc": "The nfnetlink_rcv_batch function in net/netfilter/nfnetlink.c in the Linux kernel before 4.5 does not check whether a batch message's length field is large enough, which allows local users to obtain sensitive information from kernel memory or cause a denial of service (infinit... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Continue writing data to an address space in a loop.\n *\n * Handles writing data to either RAM or memory-mapp... | {
"cve": "CVE-2017-11334",
"cve_desc": "The address_space_write_continue function in exec.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (out-of-bounds access and guest instance crash) by leveraging use of qemu_map_ram_ptr to access guest ram block area.",
"cwe"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Appends an IA5 string to a stack of OpenSSL strings.\n *\n * This function adds an email address from an ASN1_... | {
"cve": "CVE-2021-3712",
"cve_desc": "ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is termina... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and update icon information from a stream.\n *\n * Parses icon metadata and bitmap data from the provided... | {
"cve": "CVE-2020-11042",
"cve_desc": "In FreeRDP greater than 1.1 and before 2.0.0, there is an out-of-bounds read in update_read_icon_info. It allows reading a attacker-defined amount of client memory (32bit unsigned -> 4GB) to an intermediate buffer. This can be used to crash the client or store information for... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process AVRC metadata commands.\n *\n * Validates and processes incoming AVRC metadata commands including\n * ... | {
"cve": "CVE-2018-9507",
"cve_desc": "In bta_av_proc_meta_cmd of bta_av_act.cc, there is a possible out of bounds read due to an incorrect bounds check. This could lead to remote information disclosure over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation. P... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Detect OpenVPN protocol in network traffic.\n *\n * Analyzes packet payloads to identify OpenVPN connections b... | {
"cve": "CVE-2020-15473",
"cve_desc": "In nDPI through 3.2, the OpenVPN dissector is vulnerable to a heap-based buffer over-read in ndpi_search_openvpn in lib/protocols/openvpn.c.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "552ad5cc-1ea6-4fcd-8784-82ee244c211f"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Reads and parses an EVT record event from binary data.\n *\n * Parses the record header to extract metadata su... | {
"cve": "CVE-2018-8754",
"cve_desc": "The libevt_record_values_read_event() function in libevt_record_values.c in libevt before 2018-03-17 does not properly check for out-of-bounds values of user SID data size, strings size, or data size. NOTE: the vendor has disputed this as described in libyal/libevt issue 5 on ... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Move a point by a computed distance in a TrueType font instruction.\n *\n * This instruction calculates the di... | {
"cve": "CVE-2017-9726",
"cve_desc": "The Ins_MDRP function in base/ttinterp.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.",
"cwe": "['CWE-125']",
... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle SPA (Secure Password Authentication) server-side authentication.\n *\n * Implements the server side of ... | {
"cve": "CVE-2020-12783",
"cve_desc": "Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass in auths/spa.c and auths/auth-spa.c.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "2e6d5fac-4c90-4bea-a344-64ff03f08094"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Render proxy certificate extension information to output BIO.\n *\n * Formats and outputs proxy certificate ex... | {
"cve": "CVE-2021-3712",
"cve_desc": "ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is termina... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and synchronize an AAC audio frame header from a byte stream.\n *\n * Extracts AAC ADTS header informati... | {
"cve": "CVE-2016-7393",
"cve_desc": "Stack-based buffer overflow in the aac_sync function in aac_parser.c in Libav before 11.5 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "f1c62173-6248-4968-a303-23233092f5c3"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decodes a Base64-encoded string into a newly allocated byte buffer.\n *\n * The function reads the input buffe... | {
"cve": "CVE-2017-5209",
"cve_desc": "The base64decode function in base64.c in libimobiledevice libplist through 1.12 allows attackers to obtain sensitive information from process memory or cause a denial of service (buffer over-read) via split encoded Apple Property List data.",
"cwe": "['CWE-125']",
"target"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Allocate and initialize a new Huffman tree node.\n *\n * This function retrieves the next available node from ... | {
"cve": "CVE-2020-35530",
"cve_desc": "In LibRaw, there is an out-of-bounds write vulnerability within the \"new_node()\" function (libraw\\src\\x3f\\x3f_utils_patched.cpp) that can be triggered via a crafted X3F file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "82b0bf18-fc09-4a6c-a398-87dec58534e4"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process and print AODV protocol extension data.\n *\n * Parses AODV extension headers based on their type and ... | {
"cve": "CVE-2017-13002",
"cve_desc": "The AODV parser in tcpdump before 4.9.2 has a buffer over-read in print-aodv.c:aodv_extension().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "c5720e29-0b64-4a0b-ab7e-b4271d5b9a18"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print RPKI-RTR PDU information to the output.\n *\n * Parses and prints details of RPKI-RTR protocol data unit... | {
"cve": "CVE-2017-13050",
"cve_desc": "The RPKI-Router parser in tcpdump before 4.9.2 has a buffer over-read in print-rpki-rtr.c:rpki_rtr_pdu_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "66dccd67-70f4-4f65-ba96-0f565fc47e05"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Compute a hash value for a control element identifier.\n *\n * Generates a hash value from the fields of a snd... | {
"cve": "CVE-2022-3170",
"cve_desc": "An out-of-bounds access issue was found in the Linux kernel sound subsystem. It could occur when the 'id->name' provided by the user did not end with '\\0'. A privileged local user could pass a specially crafted name through ioctl() interface and crash the system or potentiall... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Reads and processes an NTLM Challenge Message from a security buffer.\n *\n * Parses the NTLM Challenge Messag... | {
"cve": "CVE-2020-13396",
"cve_desc": "An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been detected in ntlm_read_ChallengeMessage in winpr/libwinpr/sspi/NTLM/ntlm_message.c.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "ee568b2e-9038-4be0-8908-a2ceabeff820"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decode the next LZW code and add it to the output stack.\n *\n * Processes a single LZW code from the compress... | {
"cve": "CVE-2022-2061",
"cve_desc": "Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0fac4186-8f14-4956-9b07-823a461bd6d5"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Initialize variable-length coding tables for DNxHD decoding.\n *\n * Initializes AC, DC, and run VLC tables by... | {
"cve": "CVE-2021-38114",
"cve_desc": "libavcodec/dnxhddec.c in FFmpeg 4.4 does not check the return value of the init_vlc function, a similar issue to CVE-2013-0868.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "4ba62667-f047-40bd-9d8b-dcfbf7392001"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Adds an EXIF IFD value to the image info structure.\n *\n * Allocates a new entry in the specified section's i... | {
"cve": "CVE-2019-11035",
"cve_desc": "When processing certain files, PHP EXIF extension in versions 7.1.x below 7.1.28, 7.2.x below 7.2.17 and 7.3.x below 7.3.4 can be caused to read past allocated buffer in exif_iif_add_value function. This may lead to information disclosure or crash.",
"cwe": "['CWE-125']",
... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Load tile image data from an XCF file into the tile image.\n *\n * Reads pixel data from the image blob and po... | {
"cve": "CVE-2016-7529",
"cve_desc": "coders/xcf.c in ImageMagick allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted XCF file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0c65d80a-484a-49b0-890c-048722248dca"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and populate a single index entry from MOBI document data.\n *\n * Reads and validates an index entry fr... | {
"cve": "CVE-2022-1987",
"cve_desc": "Buffer Over-read in GitHub repository bfabiszewski/libmobi prior to 0.11.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0848f98e-2f7c-415f-85f7-a67b8f53a45f"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Validate a variable name for unlet in Vim9 script context.\n *\n * Checks whether the given variable name is a... | {
"cve": "CVE-2022-2816",
"cve_desc": "Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0212.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "e0465721-acc4-47a4-92ea-71876ab92e59"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Add a text tag from QuickTime metadata to a tag list.\n *\n * Extracts string metadata from a QuickTime atom n... | {
"cve": "CVE-2016-10199",
"cve_desc": "The qtdemux_tag_add_str_full function in gst/isomp4/qtdemux.c in gst-plugins-good in GStreamer before 1.10.3 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a crafted tag value.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "4e5132... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and decode an SGI (Iris) RGB image file.\n *\n * Parses SGI image format files, supporting both uncompres... | {
"cve": "CVE-2016-7101",
"cve_desc": "The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a large row value in an sgi file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "daa522a4-b483-451d-b214-1c9923a51625"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse Yara rules using a Yacc-generated parser.\n *\n * This is the main parser function for Yara rules, gener... | {
"cve": "CVE-2017-5923",
"cve_desc": "libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted rule that is mishandled in the yara_yyparse function.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "d3faad0a-0e82-4739... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Advances the packet iterator to the next packet in the progression order.\n *\n * Computes precinct steps and ... | {
"cve": "CVE-2016-9583",
"cve_desc": "An out-of-bounds heap read vulnerability was found in the jpc_pi_nextpcrl() function of jasper before 2.0.6 when processing crafted input.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "0ba5f72a-d230-4b7e-a140-59b37c661c59"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print MLPPP packet information.\n *\n * This function prints details of a Multilink PPP (MLPPP) packet to the ... | {
"cve": "CVE-2017-13038",
"cve_desc": "The PPP parser in tcpdump before 4.9.2 has a buffer over-read in print-ppp.c:handle_mlppp().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "fa155ef2-4f75-4c66-ba5d-06a536d4be97"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decodes a pointer-type field from a protobuf message stream.\n *\n * Handles decoding of string, bytes, submes... | {
"cve": "CVE-2020-5235",
"cve_desc": "There is a potentially exploitable out of memory condition In Nanopb before 0.4.1, 0.3.9.5, and 0.2.9.4. When nanopb is compiled with PB_ENABLE_MALLOC, the message to be decoded contains a repeated string, bytes or message field and realloc() runs out of memory when expanding ... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Decode a SuperH instruction at the specified address.\n *\n * Analyzes the instruction bytes and populates the... | {
"cve": "CVE-2018-11384",
"cve_desc": "The sh_op() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted ELF file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "38a80bf2-24e7-4aa2-be87-2798d4ff4fb6"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle ICMPv6 error messages for IPv6 GRE tunnels.\n *\n * Processes incoming ICMPv6 error packets related to ... | {
"cve": "CVE-2017-5897",
"cve_desc": "The ip6gre_err function in net/ipv6/ip6_gre.c in the Linux kernel allows remote attackers to have unspecified impact via vectors involving GRE flags in an IPv6 packet, which trigger an out-of-bounds access.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "cf355d0e-aff8-4872... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Tokenize a line of NASM assembly source code into a token list.\n *\n * Parses the input string character-by-c... | {
"cve": "CVE-2018-8881",
"cve_desc": "Netwide Assembler (NASM) 2.13.02rc2 has a heap-based buffer over-read in the function tokenize in asm/preproc.c, related to an unterminated string.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "33997536-9f78-409e-a2a9-afe589275eca"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle MCA control channel request.\n *\n * Processes incoming MCA control channel requests and manages state ... | {
"cve": "CVE-2018-9505",
"cve_desc": "In mca_ccb_hdl_req of mca_cact.cc, there is a possible out of bounds read due to a missing bounds check. This could lead to remote information disclosure over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation. Product: An... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Load an XCF image from an input stream.\n *\n * Parses an XCF file (GIMP's native image format) from the given... | {
"cve": "CVE-2017-17788",
"cve_desc": "In GIMP 2.8.22, there is a stack-based buffer over-read in xcf_load_stream in app/xcf/xcf.c when there is no '\\0' character after the version string.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "54e84803-cff1-41c9-a2de-71692c7bf667"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and decode a VIFF (Khoros Visualization Image File Format) image.\n *\n * Opens a VIFF image file and par... | {
"cve": "CVE-2016-7528",
"cve_desc": "The ReadVIFFImage function in coders/viff.c in ImageMagick allows remote attackers to cause a denial of service (segmentation fault) via a crafted VIFF file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "678b29cc-69ea-45fe-af9d-9fa1b72d2ba1"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and parse new configuration information from Wavpack metadata.\n *\n * Processes metadata to extract vers... | {
"cve": "CVE-2016-10171",
"cve_desc": "The unreorder_channels function in cli/wvunpack.c in Wavpack before 5.1.0 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted WV file.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "ea781a00-b516-4714-b4ef-605a4eeb2c93"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Scan a memory range for strings and extract them.\n *\n * Searches the specified address range for strings of ... | {
"cve": "CVE-2022-1899",
"cve_desc": "Out-of-bounds Read in GitHub repository radareorg/radare2 prior to 5.7.0.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "017d7d4c-94d3-4695-a8cc-d9e9a76f1dd7"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Compute quantization range for input tensor.\n *\n * This function determines the effective min and max values... | {
"cve": "CVE-2021-29569",
"cve_desc": "TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.MaxPoolGradWithArgmax` can cause reads outside of bounds of heap allocated data if attacker supplies specially crafted inputs. The implementation(https://github.com/tensor... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse the PSK identity hint from a server key exchange message.\n *\n * Extracts the PSK identity hint length ... | {
"cve": "CVE-2018-9989",
"cve_desc": "ARM mbed TLS before 2.1.11, before 2.7.2, and before 2.8.0 has a buffer over-read in ssl_parse_server_psk_hint() that could cause a crash on invalid input.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "1bee87e1-4f32-4b64-a181-c0dcd42c0dea"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Validates if the axis is valid for L2 normalization reduction.\n *\n * Checks whether the specified axis param... | {
"cve": "CVE-2021-37689",
"cve_desc": "TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can craft a TFLite model that would trigger a null pointer dereference, which would result in a crash and denial of service. This is caused by the MLIR optimization of `L2N... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Read and parse metadata from a Photoshop (PSD) image file.\n *\n * Opens the file, validates the PSD signature... | {
"cve": "CVE-2018-19107",
"cve_desc": "In Exiv2 0.26, Exiv2::IptcParser::decode in iptc.cpp (called from psdimage.cpp in the PSD image reader) may suffer from a denial of service (heap-based buffer over-read) caused by an integer overflow via a crafted PSD image file.",
"cwe": "['CWE-125']",
"target": 0,
"uu... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parses and extracts image resources from a PSD/PSIR file format.\n *\n * Iterates through the resource section... | {
"cve": "CVE-2018-7730",
"cve_desc": "An issue was discovered in Exempi through 2.4.4. A certain case of a 0xffffffff length is mishandled in XMPFiles/source/FormatSupport/PSIR_FileWriter.cpp, leading to a heap-based buffer over-read in the PSD_MetaHandler::CacheFileData() function.",
"cwe": "['CWE-125']",
"ta... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Attempts to display the touch-to-fill password UI for a form field.\n *\n * Checks if the given form control e... | {
"cve": "CVE-2017-5053",
"cve_desc": "An out-of-bounds read in V8 in Google Chrome prior to 57.0.2987.133 for Linux, Windows, and Mac, and 57.0.2987.132 for Android, allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page, related to Array.prototype.indexOf.",
"cwe": "['CWE-1... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and extract metadata from a PostScript file.\n *\n * Validates the PostScript file format and parses thr... | {
"cve": "CVE-2018-7729",
"cve_desc": "An issue was discovered in Exempi through 2.4.4. There is a stack-based buffer over-read in the PostScript_MetaHandler::ParsePSFile() function in XMPFiles/source/FileHandlers/PostScript_Handler.cpp.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "aac0e799-1b99-4f41-9947-09... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Extracts embedded color profiles and metadata from a TIFF file.\n *\n * Reads various profile types from the T... | {
"cve": "CVE-2020-25667",
"cve_desc": "TIFFGetProfiles() in /coders/tiff.c calls strstr() which causes a large out-of-bounds read when it searches for `\"dc:format=\\\"image/dng\\\"` within `profile` due to improper string handling, when a crafted input file is provided to ImageMagick. The patch uses a StringInfo ... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Check and update VNC pointer type configuration when input mode changes.\n *\n * Compares the current input po... | {
"cve": "CVE-2017-2633",
"cve_desc": "An out-of-bounds memory access issue was found in Quick Emulator (QEMU) before 1.7.2 in the VNC display driver. This flaw could occur while refreshing the VNC display surface area in the 'vnc_refresh_server_surface'. A user inside a guest could use this flaw to crash the QEMU ... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Write an image to a TIFF file.\n *\n * Encodes and writes the provided image to a TIFF file with configurable\... | {
"cve": "CVE-2019-11597",
"cve_desc": "In ImageMagick 7.0.8-43 Q16, there is a heap-based buffer over-read in the function WriteTIFFImage of coders/tiff.c, which allows an attacker to cause a denial of service or possibly information disclosure via a crafted image file.",
"cwe": "['CWE-125']",
"target": 0,
"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse and validate a DSDIFF audio file header.\n *\n * Reads and validates the DSDIFF file header structure, p... | {
"cve": "CVE-2018-7253",
"cve_desc": "The ParseDsdiffHeaderConfig function of the cli/dsdiff.c file of WavPack 5.1.0 allows a remote attacker to cause a denial-of-service (heap-based buffer over-read) or possibly overwrite the heap via a maliciously crafted DSDIFF file.",
"cwe": "['CWE-125']",
"target": 0,
"... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Parse a DNS resource record from a string.\n *\n * Parses a DNS RR from its text representation, handling owne... | {
"cve": "CVE-2020-19860",
"cve_desc": "When ldns version 1.7.1 verifies a zone file, the ldns_rr_new_frm_str_internal function has a heap out of bounds read vulnerability. An attacker can leak information on the heap by constructing a zone file payload.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "45d78bcf-... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Check if the first string is a prefix of the second string.\n *\n * Compares the first tl1 characters of tstr1... | {
"cve": "CVE-2017-13010",
"cve_desc": "The BEEP parser in tcpdump before 4.9.2 has a buffer over-read in print-beep.c:l_strnstart().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "89dbdb25-a0aa-4e56-9db9-d1aaaa681b00"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Write an image to a TIFF file.\n *\n * Writes the provided image to a TIFF file with configurable compression,... | {
"cve": "CVE-2019-15141",
"cve_desc": "WriteTIFFImage in coders/tiff.c in ImageMagick 7.0.8-43 Q16 allows attackers to cause a denial-of-service (application crash resulting from a heap-based buffer over-read) via a crafted TIFF image file, related to TIFFRewriteDirectory, TIFFWriteDirectory, TIFFWriteDirectorySec... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Convert a wide character to ISO-2022 encoding.\n *\n * Converts a wide character to its ISO-2022 escape sequen... | {
"cve": "CVE-2016-9433",
"cve_desc": "An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. w3m allows remote attackers to cause a denial of service (out-of-bounds array access) via a crafted HTML page.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "974e5522-4c84-4f5b-a4d4-c50cb9dc4559"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Negotiate SMB2 protocol version and capabilities with a CIFS server.\n *\n * Sends an SMB2 negotiate request t... | {
"cve": "CVE-2019-15918",
"cve_desc": "An issue was discovered in the Linux kernel before 5.0.10. SMB2_negotiate in fs/cifs/smb2pdu.c has an out-of-bounds read because data structures are incompletely updated after a change from smb30 to smb21.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "81b2b5bd-7938-45f1... |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Handle extended inquiry result event from Bluetooth controller.\n *\n * Processes extended inquiry result even... | {
"cve": "CVE-2020-36386",
"cve_desc": "An issue was discovered in the Linux kernel before 5.8.1. net/bluetooth/hci_event.c has a slab out-of-bounds read in hci_extended_inquiry_result_evt, aka CID-51c19bf3d5cf.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "7fc2cd56-0406-48ce-ac79-fd2b2f071b83"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Print DECnet protocol packet information.\n *\n * Parses and prints DECnet packet details including source and... | {
"cve": "CVE-2017-12899",
"cve_desc": "The DECnet parser in tcpdump before 4.9.2 has a buffer over-read in print-decnet.c:decnet_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "aee08b8c-68af-4e27-9c2e-3db18a5f4eb5"
} |
[
{
"content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ",
"role": "system"
},
{
"content": "/**\n * @brief Process an RDP update PDU from a stream.\n *\n * Reads an update type from the stream and dispatches to the ap... | {
"cve": "CVE-2020-11019",
"cve_desc": "In FreeRDP less than or equal to 2.0.0, when running with logger set to \"WLOG_TRACE\", a possible crash of application could occur due to a read of an invalid array index. Data could be printed as string to local terminal. This has been fixed in 2.1.0.",
"cwe": "['CWE-125'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.