messages listlengths 3 3 | metadata dict |
|---|---|
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Decodes FLI/FLC animation frame data into an image.\n *\n * Processes FLI/FLC animation format chunks includi... | {
"cve": "CVE-2016-0775",
"cve_desc": "Buffer overflow in the ImagingFliDecode function in libImaging/FliDecode.c in Pillow before 3.1.1 allows remote attackers to cause a denial of service (crash) via a crafted FLI file.",
"cwe": "['CWE-787']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Sets the geometry parameters for a floppy disk drive.\n *\n * Configures the floppy disk geometry including s... | {
"cve": "CVE-2019-14283",
"cve_desc": "In the Linux kernel before 5.2.3, set_geometry in drivers/block/floppy.c does not validate the sect and head fields, as demonstrated by an integer overflow and out-of-bounds read. It can be triggered by an unprivileged local user when a floppy disk has been inserted. NOTE: QE... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse Python function argument list into an AST structure.\n *\n * Handles both function definitions (typedar... | {
"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 assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse Python function argument list into an AST structure.\n *\n * Handles both function definitions (typedar... | {
"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 assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse Python function argument list into an AST structure.\n *\n * Handles both function definitions (typedar... | {
"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 assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse Python function argument list into an AST structure.\n *\n * Handles both function definitions (typedar... | {
"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 assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Format an EXIF entry value as a human-readable string.\n *\n * Converts the binary EXIF data in the entry to ... | {
"cve": "CVE-2020-0182",
"cve_desc": "In exif_entry_get_value of exif-entry.c, there is a possible out of bounds read due to a missing bounds check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersio... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Read and decode a TGA (Truevision TGA) image file.\n *\n * Parses TGA image data from a file, handling variou... | {
"cve": "CVE-2015-8894",
"cve_desc": "Double free vulnerability in coders/tga.c in ImageMagick 7.0.0 and later allows remote attackers to cause a denial of service (application crash) via a crafted tga file.",
"cwe": "['CWE-415']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Callback handler for completed iSCSI AIO ioctl operations.\n *\n * This function is invoked when an iSCSI asy... | {
"cve": "CVE-2020-11947",
"cve_desc": "iscsi_aio_ioctl_cb in block/iscsi.c in QEMU 4.1.0 has a heap-based buffer over-read that may disclose unrelated information from process memory to an attacker.",
"cwe": "['CWE-125']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Save an EXIF data entry to a buffer.\n *\n * Writes the tag, format, components, and data of an ExifEntry to ... | {
"cve": "CVE-2020-0093",
"cve_desc": "In exif_data_save_data_entry of exif-data.c, there is a possible out of bounds read due to a missing bounds check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersio... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Handle VM-Exit events from VMX mode in the KVM hypervisor.\n *\n * Processes hardware exits from guest virtua... | {
"cve": "CVE-2021-3501",
"cve_desc": "A flaw was found in the Linux kernel in versions before 5.12. The value of internal.ndata, in the KVM API, is mapped to an array index, which can be updated by a user process at anytime which could lead to an out-of-bounds write. The highest threat from this vulnerability is t... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Control function for RC4-HMAC-MD5 cipher operations.\n *\n * Handles cipher-specific control operations inclu... | {
"cve": "CVE-2017-3731",
"cve_desc": "If an SSL/TLS server or client is running on a 32-bit host, and a specific cipher is being used, then a truncated packet can cause that server or client to perform an out-of-bounds read, usually resulting in a crash. For OpenSSL 1.1.0, the crash can be triggered when using CHA... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse Telnet protocol commands from a packet buffer.\n *\n * Parses Telnet protocol data starting with the IA... | {
"cve": "CVE-2017-12988",
"cve_desc": "The telnet parser in tcpdump before 4.9.2 has a buffer over-read in print-telnet.c:telnet_parse().",
"cwe": "['CWE-125']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Look up a URL for a given filename in a cache.\n *\n * Searches through the web_cache array for a matching fi... | {
"cve": "CVE-2021-23191",
"cve_desc": "A security issue was found in htmldoc v1.9.12 and before. A NULL pointer dereference in the function image_load_jpeg() in image.cxx may result in denial of service.",
"cwe": "['CWE-415']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Read and apply configuration from multiple sources.\n *\n * This function reads configuration from system, us... | {
"cve": "CVE-2011-2905",
"cve_desc": "Untrusted search path vulnerability in the perf_config function in tools/perf/util/config.c in perf, as distributed in the Linux kernel before 3.1, allows local users to overwrite arbitrary files via a crafted config file in the current working directory.",
"cwe": "['CWE-94'... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Load page kids for all cross-reference tables in a PDF file.\n *\n * Iterates over each PDF version's cross-r... | {
"cve": "CVE-2019-14934",
"cve_desc": "An issue was discovered in PDFResurrect before 0.18. pdf_load_pages_kids in pdf.c doesn't validate a certain size value, which leads to a malloc failure and out-of-bounds write.",
"cwe": "['CWE-787']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Load and parse DEX file code structures into method, import, and class lists.\n *\n * Initializes the methods... | {
"cve": "CVE-2017-6387",
"cve_desc": "The dex_loadcode function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted DEX file.",
"cwe": "['CWE-125']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Loads an XM module file and parses its contents into an XModule structure.\n *\n * Parses the XM file header,... | {
"cve": "CVE-2022-34927",
"cve_desc": "MilkyTracker v1.03.00 was discovered to contain a stack overflow via the component LoaderXM::load. This vulnerability is triggered when the program is supplied a crafted XM module file.",
"cwe": "['CWE-787']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse and validate an XWD file header.\n *\n * Reads the XWD header from the file mapping, converting all 32-... | {
"cve": "CVE-2022-2301",
"cve_desc": "Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3.",
"cwe": "['CWE-125']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Decrypts data using the FIPS-compliant cipher.\n *\n * This function decrypts the provided data buffer in-pla... | {
"cve": "CVE-2020-13397",
"cve_desc": "An issue was discovered in FreeRDP before 2.1.1. An out-of-bounds (OOB) read vulnerability has been detected in security_fips_decrypt in libfreerdp/core/security.c due to an uninitialized value.",
"cwe": "['CWE-787']",
"target": 0
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Process and extract HID input field values from raw report data.\n *\n * Extracts values from the raw HID rep... | {
"cve": "CVE-2016-7915",
"cve_desc": "The hid_input_field function in drivers/hid/hid-core.c in the Linux kernel before 4.6 allows physically proximate attackers to obtain sensitive information from kernel memory or cause a denial of service (out-of-bounds read) by connecting a device, as demonstrated by a Logitec... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Process an incoming server network packet.\n *\n * Unpacks the packet data and dispatches it to appropriate h... | {
"cve": "CVE-2016-9400",
"cve_desc": "The CClient::ProcessServerPacket method in engine/client/client.cpp in Teeworlds before 0.6.4 allows remote servers to write to arbitrary physical memory locations and possibly execute arbitrary code via vectors involving snap handling.",
"cwe": "['CWE-787']",
"target": 0
... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Decode a single APE audio frame from an AVPacket.\n *\n * Decodes compressed APE (Monkey's Audio) data from t... | {
"cve": "CVE-2017-11399",
"cve_desc": "Integer overflow in the ape_decode_frame function in libavcodec/apedec.c in FFmpeg 2.4 through 3.3.2 allows remote attackers to cause a denial of service (out-of-array access and application crash) or possibly have unspecified other impact via a crafted APE file.",
"cwe": "... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Advance the packet iterator to the next packet in the code stream.\n *\n * Iterates through components, resol... | {
"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
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Store a driver override string for an AMBA device.\n *\n * This function handles writes to the driver_overrid... | {
"cve": "CVE-2018-9385",
"cve_desc": "In driver_override_store of bus.c, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Product: Android Versions: An... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Extract a quoted string from the input, processing escape sequences.\n *\n * Parses a quoted string starting ... | {
"cve": "CVE-2015-4590",
"cve_desc": "The extractFrom function in Internals/QuotedString.cpp in Arduino JSON before 4.5 allows remote attackers to cause a denial of service (crash) via a JSON string with a \\ (backslash) followed by a terminator, as demonstrated by \"\\\\\\0\", which triggers a buffer overflow and... |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Parse a DNS A record reply and populate a hostent structure.\n *\n * Parses the DNS response buffer to extrac... | {
"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
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"role": "system"
},
{
"content": "/**\n * @brief Decodes a Base64 encoded string into raw bytes.\n *\n * Converts a Base64 formatted input string into its bin... | {
"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
} |
[
{
"content": "You are a helpful assistant. Generate secure, vulnerability-free code. Avoid any code that contains security vulnerabilities.",
"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
} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 4